Hacker News new | ask | show | jobs
by jardaroh 3581 days ago
What I do is I look at either a new project I would like to do or an existing one I would like to refactor heavily. Every time I go over what the feature requirements will be and find a language, framework and libraries that will suit the project.

Sometimes I end up rewriting/refactoring from one language into another. This is great approach to learning a new language. However, consider that languages has different idioms, make sure you try to learn the best approaches in your selected language and refactor for those idioms. For example, it is generally a bad idea to write python like you would write C, etc.

If you do not have a project that would be interesting to refactor, take any other idea you have laying around do write that in your selected new language.

In the end, it is better to learn by doing.