Different people learn new programming languages in different ways.
Some people read through many tutorials before attempting to try writing some code.
Whereas other people experiment with the code before reading full tutorials.
How do you learn new languages?
I'd say this is typically my approach:
That's a nice way to learn a new language! I do a similar thing
It changes a lot depending on how many other languages you know and your use of the language.
I use python for writing quick and dirty scripts, so I am not sure I really learned the language.
For languages I use to write applications, I generally start writing small tools and applications and after that I start studying it's standard library, runtime, etc.
For instance, to learn D language, I wrote a blog system - the one empowering my website: thiagocafe.com
Writing a blog is a cool idea!
personally i think the most effective way to adapt a language is to use it on a project - learn by looking at other people's code.
chances are: we'll use 5+ different languages/frameworks for a project - there is just no time to sit down and go through all tutorials.
usually i just google the syntax, learn some tips around it, and move on with it. When come to key functions, if I need to make a judgement on if I'm writing efficient code in certain new language, or when I add unit tests - i'll dive into the api docs.
maybe i'm wrong on doing this - but I kinda no longer dive deep into a specific language anymore (i use to dig deep into Java deep at Amazon)
I do a similar thing!
I try to correlate with language , I already know.
Ah thatβs cool
First reading tutorials and then watching tutorials video and write some crud code and then i am try to make a basic project with my new language. I think this is work for me.
Nice! Mineβs pretty much the opposite lol
code along is the best, learning a new language is never the one go or direct process, we have to go back and forth with the topics and learnings.
Yeah I agree!
It's a combination for me. I watch some tutorials on YouTube or in a course. I might also read about it in an article and I always read through the documentation.
Nice! I don't seem to understand videos...
Thatβs nice! Iβm more of a tutorial reader