Ask HN: Learning new programming languages in 2018

5 points by asdojasdosadsa ↗ HN
What would you suggest (or have tried) for learning new languages? Now, in 2018 there seems to be so many different ways and websites to support this, but which to choose? I am coming from web development and I think the biggest problem is finding, what to do? For web projects, it seems to be semi easy to create a new webapp, but for (ex. my biggest interest atm) Haskell, what should I do?

Often I seem to drift towards Euler and do the problems, but these are so small (and algorithms mainly) that the interest might flop easily

Thanks a bunch for the responses!

11 comments

[ 4.5 ms ] story [ 38.0 ms ] thread
Elm, Julia, Elixir sound interesting and diverse
Exactly! But where would I start? A project, what kind of? I'd love to do some Elm or Elixir
I reckon you should make a tax calculator in Elm so a user can compare how much tax he/she pays in each state
A project that you yourself need is the best way to start. And you'll naturally stay motivated.
I quite like project Rosalind http://rosalind.info/about/

It's practical enough and far enough from bare algorithmic exercises that it's interesting for a long time. And you learn Bioinformatics in the process, so that's a double-win.

Congratulations on staying hungry. Euler is indeed a good source of code katas. But you could try to implement more complex engineering data structures like linked lists and hash tables. I'm studying myself some Solidity development and to help along the way I'm writing small articles. You could do the same, because when explaining what you know, you realize if you dominate the subject.
Thank you for your response. How have you kept your motivation up with short exercises like Euler's? Writing articles is something I have never though of, but might give it a try. Thanks for the wonderful idea!
Just don't try to tackle all of them at once. Take it as it is a way of flexing your muscles before doing exercise and only do a couple of them daily.
Personally I find that the best way to learning programming languages is on the job, rather than at home on random projects. I've tried one of the "do this exercise in a new language" sites, I forget which, and it's just... not realistic enough, and not motivated enough. Like you said, interest flops.

I've done much better when I got a job where I had to learn a new programming language.

Longer version here: https://codewithoutrules.com/2017/09/09/learn-a-new-programm...

I suggest that you pick a project first (that you love, that could help a friend or an association), then pick the right (new ?) language that does the job. I tried too many time to learn a new language without a project and ended dropping it,(I lost interest doing stuff that doesn't matters like basic algorithmic, exercises that i already knew).