V
V
Vitaly123452018-08-22 16:07:42
Programming languages
Vitaly12345, 2018-08-22 16:07:42

Why learn multiple programming languages ​​(c++, java)?

Does it make sense to spend a couple of years on one language, and then on another?
Does it give more choice of work or what?
Will it be easier to learn c++ after java?

Answer the question

In order to leave comments, you need to log in

11 answer(s)
S
Sergey Gornostaev, 2018-08-22
@Vitaly12345

First, the hypothesis of linguistic relativity states that the more languages ​​you know, the more flexible and richer your logical apparatus. From my own experience I can say that this is true. For example, learning Lisp'ov significantly expanded my capabilities in other languages. But my experience and opinion is not as authoritative as the authors of the world famous bestseller " The Pragmatic Programmer " - Andrew Hunt and David Thomas, who write: "Learn at least one new language every year. Different languages ​​solve the same problems in different ways. By learning a few different approaches, you can expand your horizons and not get bogged down in a routine.”
Secondly, sooner or later the professional growth of a java programmer, for example, inevitably leads him to the need to deeply understand the work of the compiler and the virtual machine, and this is impossible without knowledge of C ++, in which they are written.
Thirdly, a java programmer who freely climbs JVM sources for answers, is able to debug the garbage collector, write JNI libraries and use the Compiler API for metaprogramming has more job offers and more favorable conditions.

P
Peter, 2018-08-22
@petermzg

It makes sense to spend a couple of years on the ability to write applications, understanding the structure of programs and their interaction options.
And then you can write in any language.
C++, Java, JavaScript, C#, python, pascal, basic are very similar to each other.

A
Anton Kucherov, 2018-08-22
@DexterHD

For nothing. It is better to study the foundation. For example, 3 volumes of Tanenbaum:
You can significantly increase your value as a specialist than by taking courses in 3 programming languages.

A
Ambrosian, 2018-08-22
@Ambrosian

Does it make sense to spend a couple of years on one language, and then on another?

Beginners exaggerate the difficulty of learning programming languages.
Learning a language takes a few days (certainly less than a week, and for some - even 1 day). Except the first one, of course.
This is not English for you. Human languages ​​are unimaginably harder to learn than formal programming languages.
It is not the language that is studied for a long time, but algorithms, paradigms, patterns, architectures and approaches.
But they pass from language to language. So there is no need to relearn them.
Yes, the second, and especially the third, etc. languages ​​- learn flying.
Then, why and the first. For development.
Each language (otherwise why would there be so many of them) offers some of its improvements. The more you know them, the wider your horizons. The more you have the opportunity to apply what you understand in the 4th language when programming in the 2nd language.

S
Saboteur, 2018-08-22
@saboteur_kiev

There are related languages ​​that do not intersect in terms of competition, but rather complement each other.
For example javascript/html/css/kotlin
Or bash/c++ do not contradict each other at all.

A
ApeCoder, 2018-08-22
@ApeCoder

By the law of leaky abstractions , you will definitely encounter a lower level, and then lower-level C ++ will come in handy
. And more from Joel

P
ponaehal, 2018-08-24
@ponaehal

Half-my lord, half-merchant,
Half-sage, half-ignorant,
Half-scoundrel, but there is hope,
What will be complete at last.
Pushkin A.S. when he said this, he meant that if you choose the path of programming, then than being a semi-specialist in thirty technologies, it is better to master one perfectly.
So he said.

S
Shinso, 2018-08-22
@Shinso

Well, knowing one for sure, learning another is much easier, as for knowing several, it all depends on what the requirements are at work, I personally need to know both JavaScript and PHP more or less.

R
regular person, 2018-08-23
@datarmatan

the question is a very stupid
stupid answer about the hypothesis of linguistic relativity - in general, this is about natural languages ​​\u200b\u200ba
very strange statement that you need to learn several languages
​​where does this nonsense come from?
you need to learn the languages ​​​​of the chosen platform - those in which you will work

S
Sanes, 2018-08-23
@Sanes

Need to learn. Why beat yourself up on purpose. In any case, one language is not enough.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question