Question:
Is it true that if you learn one programming languages others..?
Dennis M
2010-06-14 08:37:57 UTC
Is it true that if you learn one programming languages others are easier to learn?

like if i learn javascript then it would be a lot easier to learn, say, php and java.
Seven answers:
mediabanana.com
2010-06-14 08:59:24 UTC
There is a certain common logic to all programming languages, and because of that learning one does make learning others easier. It's not just another language, it's a way of thinking and planning in individual tasks and steps -in this aspect, all programming languages are the same, and it's this that is the main first "hurdle" to learning programming.
husoski
2010-06-14 09:06:36 UTC
Those are all what are called "imperative" programming languages, where the programmer's job is to describe the computation as a sequence of steps to be taken and decisions to be made in a particular order. They also all support objects and object-oriented-programming to some degree. Learning to program in this style combination is part of learning any one of those languages, so learning one should help with the others.



You may have to do some generalization, or even some unlearning, as you sort out what's a general programming idea and what's a language-specific feature.



For what it's worth, these may not help you with other programming language styles. Functional programming, where you describe what is to be done and not the order of the steps, is an example. Long ago I asked a coworker how long it takes to learn Lisp. "If you've never programmed before", he said, "maybe 4-6 weeks. But, if you already know how to program in another language, then it takes about 6 months."
Joe Savage
2010-06-14 08:49:36 UTC
Well languages like javascript are slightly different, however learning javascript would deffinately make it easier to learn other programming languages (like java (not so much PHP, as PHP isn't a programming language (it doesn't need to be compiled))).



If you however started with a C based language (like C, C++ or C#) then other PROGRAMMING languages will be easier; for example Java etc.



As for PHP, learning another web based language may help you (you'll NEED to know HTML and CSS; but something like javascript could help as well).
Cubbi
2010-06-14 09:39:29 UTC
husoski is right. Knowing another language well will help you learn related languages but will make it harder to learn the languages that use different programming paradigms.



Of course, the number of such paradigms is finite -- there is functional (Lisp-like or ML-like or other), array (APL-like), concatenative (Forth-like), class-based OOP, prototype-based OOP, imperative (especially Algol family to which C belongs), logic (Prolog and, to some extent, Erlang), and I can't think of any more. Once you've learned a few languages from each, there's hardly any language you can't grasp to the point of being able to read and understand the programs within a few days.
?
2016-10-04 17:17:18 UTC
you're on the main suitable direction. Javascript is large and it somewhat is the main suitable one to income and maximum useful devoid of having complicated. notice that HTML and CSS are not programming. What you're doing in those languages is growing to be a portfolio and enhancing the textual content textile and photographs to look a definite way. the income of Javascript is you do no longer desire a compiler consequently it somewhat is displayed immediately on a browser. the least confusing language to income is straight forward, yet you will no longer get to observe it plenty to something so which you extremely is truthfully no longer learning for plenty. straight forward and seen straight forward are as a rule utilized in an workplace putting, like for storing documents and such. Do you artwork in an workplace? i do no longer think of you may. the situation with C, C++, and purpose-C is they are very useful, yet basically once you have taken the main suitable arithmetic courses inclusive of Discrete math. you could build courses devoid of understanding the maths, yet as quickly as you desire to create the high quality courses, then you definitely desire some math, and it somewhat is not something frequently taught in ok-12, it is college. so that it is going to answer your question, Javascript little question. there is truthfully quite some Javascript courses on line.
anonymous
2010-06-14 08:43:11 UTC
To some extent. I started by learning machine language for the Burroughs 205 (Yes, I am THAT old.), which helped very little with higher-level languages. However, ALGOL, for the same computer, did help some with FORTRAN 1. By the time I had advanced through WATFIVE, I was ready to teach myself several incarnations of BASIC.
?
2010-06-14 08:41:51 UTC
Actually, is easier to learn in steps. they are all based in C. So Basic, then Python.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...