Ask HN: How do you learn a new programming language?
Thanks
Thanks
Pick one language and spend a minimum of 3 months, better to spend 6 months to learn the basics and be productive. Honestly, IMO, it takes at least a year of active use to be sufficiently good at a language.
My personal method is to find a tutorial on the basics of the language and start there. Doing some basic hello world type projects and then dive deeper and deeper. Afterwards for me I like to take something I have implemented recently and do it in the new language (if appropriate). This lets me understand differences and do a true comparison and find parts of the language I likely didn't fully grasp during the tutorials etc.
To be fair too, unless you have active projects where you can utilize the new language, learning one now is not going to stick with you after a year. I personally will learn a language just to learn it, but I also recognize I won't retain a lot of the details unless I am actively using it on real work.