DEV Community

Learning new languages

Medea on April 06, 2022

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?

Collapse
 
ben profile image
Ben Halpern

I'd say this is typically my approach:

  • Seek out "hello world" tutorial. Follow that, and get to a program that compiles/renders/etc.
  • From there I'll typically begin a bit of my own experimentation while seeking out tutorials on an as needed basis.
  • Once I'm a little more experienced, I'll have a better mindset for fully reading more complex tutorials to help me get to a place of more proficiency.
  • From there it's probably a combination of tutorials and/or reading through issues, discussions, Stack Overflow, etc.
Collapse
 
vulcanwm profile image
Medea

That's a nice way to learn a new language! I do a similar thing

Collapse
 
thiagomg profile image
Thiago Massari Guedes

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

Collapse
 
vulcanwm profile image
Medea

Writing a blog is a cool idea!

Collapse
 
tuwang profile image
TuWang • Edited

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)

Collapse
 
vulcanwm profile image
Medea

I do a similar thing!

Collapse
 
hesoyamm profile image
Kishore kunal

I try to correlate with language , I already know.

Collapse
 
vulcanwm profile image
Medea

Ah that’s cool

Collapse
 
atakanatici profile image
Atakan ATICI

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.

Collapse
 
vulcanwm profile image
Medea

Nice! Mine’s pretty much the opposite lol

Collapse
 
swapnilxi profile image
Swapnil Gupta

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.

Collapse
 
vulcanwm profile image
Medea

Yeah I agree!

Collapse
 
andrewbaisden profile image
Andrew Baisden

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.

Collapse
 
vulcanwm profile image
Medea

Nice! I don't seem to understand videos...

Collapse
 
vulcanwm profile image
Medea

That’s nice! I’m more of a tutorial reader