Re:Unconventional way of learning a new programming language
by khedoros1 on Thursday March 30, 2017 @01:43PM
(#13997371)
Agreed. If I'm trying to learn a language, my first concern will be the style that I write in. I'll pay special attention to elegant ways to express my intent in the new language, with special attention paid to features that differ strongest from languages that I already use. Having the project work is important, of course; it's the proof of having learned something. But the initial project needs to be clean and idiomatic first, and correct second.
Personal projects in languages that I'm already familiar with are the places that I allow myself some sloppiness.
Re:Unconventional way of learning a new programming language
by pvinis on Thursday March 30, 2017 @01:53PM
(#13997450)
I also agree completely. One thing I want to add is that with personal projects, I care about my code and the structure etc as much or maybe even more sometimes as the "work" code. It's just me in the personal project.. why not make it as I want, and make it really nice for myself?
Not in my experience. When I learn a new language by implementing a project in it, I do not consider the job done unless I have written idiomatic code in the new language and really understood every piece of code I took from Stackoverflow.
Not saying that contributing to open source projects for learning a new language isn't a good idea. Free code review in exchange for your contribution to the project is a win-win.