MHN

Ask HN: How do experienced programmers learn new languages?

32 points by mercsilv·4636 days ago·Show in HN

I imagine this is different once you have a few languages under your belt - so I ask you, how do you go about this?

Add a comment on Hacker News →
1 of 19 comments
  1. Think of something you want to write in that language; this is the only thing that really works for me.

    Tutorials and canned examples are ok, but if it's not something I actually want then I'm not really learning much.

    And if you can't do anything useful in the language you want to learn, then ask yourself why you want to learn it?

    Or take something relatively simple, and code it in whatever language. I did this a while back, and wrote a port scanner in c, java, perl, and python.