r/learnprogramming • • 46m ago

How to actually pick up a new language

I had picked up C, C++, Python and VB.NET as a kid so the idea of how to learn new languages has become a foreign to me.

I can read most code bases even if I don't know the language but the sometimes joining an existing code base or needing to use a tool/ecosystem related to a different language means needing to know that language. But I don't know what is a good level to stop. The entire docs feel overkill but when I open table of contents, everything sounds like I should look into it. (And you can't ignore basic stuff either cuz there could always be some peculiar/unique behaviour).

So how do you guys go about picking up a new language for something?

1 Upvotes

4 comments sorted by

•

u/Intelligent_Part101 37m ago

Read a bit for an overview. You don't need to know all the details. Then use it. Build something with it or make a modification to an existing system. That's the only way: learn more as you use it, enough at a time to solve whatever problem you are having. Also, you can ask AI questions. This is a big help.

•

u/MyNameIsRichardCS54 26m ago

Follow a basic course in it and then start building things.

•

u/Dazzling_Music_2411 7m ago

there could always be some peculiar/unique behaviour

The main thing to check is if there is some new paradigm that's unfamiliar to you and learn that.

Then learn any specific new libraries that the language offers or that you need.

Finally, any IDE peculiarities, if the language forces a new IDE on you.

After that don't bother with much, just let it soak in by "osmosis", unless you particularly enjoy reading phone directories or extended documentation! There's no point to it - anything you need (little syntax variations or whatever) you can just look up on the fly.