DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

Medea
Medea

Posted on

Learning new languages

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?

Top comments (16)

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 Author

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

Collapse
tuwang profile image
TuWang • Edited on

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 Author

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 Author

Writing a blog is a cool idea!

Collapse
hesoyamm profile image
Kishore kunal

I try to correlate with language , I already know.

Collapse
vulcanwm profile image
Medea Author

Ah that’s cool

Collapse
sharpcdf profile image
sharpcdf

I learned most of my currently used languages through the language specification or video/text tutorials. I'm a visual learner, so stuff like x in y minutes is usually enough to get me started with the basics

Collapse
vulcanwm profile image
Medea Author

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

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 Author

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

Collapse
swapnil_xi 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 Author

Yeah I agree!

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 Author

Nice! Mine’s pretty much the opposite lol

🌚 Life is too short to browse without dark mode