+ 6
Whicj is better...1. Focusing on one programming language or 2. Learning multiple languages
4 Answers
+ 6
I think, Learn multiple languages, because, when you need to make a website, you should know HTML, php, JavaScript, and even jquery for the basics.
+ 6
I agree with @Chris Mason
+ 5
First of all what you want to do?!? If you wanna learn programming languages just for the sake of learning programming language, you can learn all of them out there! That's gonna take some time though; In my calculation maybe 10-12 years!
However, if you want to learn it for doing something, make sure you know what that 'something' is! Now, obviously no matter what your goals are! You have to learn atleast 3-4 programming language in order to get the big picture as every language is based on some particular paradigm and follows some specific design patterns. As for example, with Java or C++ you can get the concept of class-based inheritance but with JavaScript you'll get taste of prototypal inheritance. If you wanna develop Web Apps, there's no reason to learn C, or C++ except for curiosity, of course!
In a nutshell, if youren't planning to visit Spain or China then what's the point of learning Spanish or Mandarin (except for hobby) ? Then again, I don't know about you but I live in India (largest democracy exists in here); So I've got my native language - Bengali, my national language - Hindi & my international - English! I'm planning to visit Spain in near future so I'm thinking of Spanish!
Hope you got my point!
#Happy_Codingāŗ
+ 2
I'd say concentrate on one language and then try to apply it to computer science/programming fundamentals such as data structures and problems. Once you are comfortable in one language and the normal parts such as if statements and loops, functions and objects, then you can learn other languages and overtime you will notice the same concepts implemented slightly differently in the new language. For example, in COBOL we used to perform a section of code, while in Pascal we would call a procedure or a function. In C we would calll a function. Loops were different. Adding two numbers could be ADD 1 to SUM in one language, while in another it could be SUM = SUM + 1, or SUM++.
However, this maybe too traditional. If your purpose is to learn how to setup a website you may have to learn in a manner where you learn as you go shifting from html to css and then Python.