Ask HN: How do experienced programmers learn new languages?
11–20 of 21 posts
Re: Ask HN: How do experienced programmers learn new languages?
#12Learning something new in your field of study is not different, it is just easier because you have some context.
Re: Ask HN: How do experienced programmers learn new languages?
#13Re: Ask HN: How do experienced programmers learn new languages?
#14This was taught to me in college a decade. "Programming language is just a syntax, the core logic of getting things done is already available in your brain." Here is what i'd do A) Remember what you already learnt from your favorite language 1] Syntax 2] Libraries 3] Reference Documentation 4] Organizing your code 5] Building / Running Programs 6] Deploying code to farms of servers (if you are interested in sysops, e…
Is this actually true, though, when jumping between programming paradigms?
Re: Ask HN: How do experienced programmers learn new languages?
#15Once you have a basis of data structures, object-oriented programming, and an understanding of libraries in one area (say web programming with Java Servlets) then learning another language is just a matter of building something and reading the API docs as you go.
Try re-writing something not trivial but not overly huge to learn the differences between old and new. After a while they all look the same, regardless of how trendy or hip something might be.
Re: Ask HN: How do experienced programmers learn new languages?
#16This was taught to me in college a decade. "Programming language is just a syntax, the core logic of getting things done is already available in your brain." Here is what i'd do A) Remember what you already learnt from your favorite language 1] Syntax 2] Libraries 3] Reference Documentation 4] Organizing your code 5] Building / Running Programs 6] Deploying code to farms of servers (if you are interested in sysops, e…
"Programming language is just a syntax, the core logic of getting things done is already available in your brain." Is this actually true, though, when jumping between programming paradigms?
Do you mean learning or mastering a language. It is kind of different. Looking for "ideomatic python" will help getting pythonic Python code done.
Not going against the spirit of the language helps.
Re: Ask HN: How do experienced programmers learn new languages?
#17might help: http://rosettacode.org/wiki/Rosetta_Code
reading about the language or read code. Writing code...
Re: Ask HN: How do experienced programmers learn new languages?
#18I've read folks who have some game such as tetris or some other as an example.
Also since I know various language commands and methods, I'll read through the language reference from ! to z and see how it compares to what I know and probably take notes along the way.
Re: Ask HN: How do experienced programmers learn new languages?
#19Re: Ask HN: How do experienced programmers learn new languages?
#20Earlier quoted context omitted.
"Programming language is just a syntax, the core logic of getting things done is already available in your brain." Is this actually true, though, when jumping between programming paradigms?
My only experience learning a new language that use a completly different paradigm is Prolog. The syntax and builtins make it hard to write something else that what it is meant for. Do you mean learning or mastering a language. It is kind of different. Looking for "ideomatic python" will help getting pythonic Python code done. Not going against the spirit of the language helps.
For example, many years ago, before I really got functional programming, I tried to learn ML and while I figured the syntax out very quickly, solving problems in a functional style was a lot more difficult and I found it hard to use the language. Learning to use Python or Ruby or Java or C#, albeit not idiomatically, is a hell of a lot easier.
Of course, knowing a language is a lot more than just learning enough to use it, though you certainly don't have to master a language to know it (and many people will never completely master their languages, despite knowing them quite well and using them effectively - for example, I'd wager few people have truly mastered C++).