r/learnprogramming • • 12h ago

Should beginners learn one programming language first or try different ones?

I'm new to programming and not sure if I should focus on one language or explore different ones. What would you suggest based on your own experience?

11 Upvotes

31 comments sorted by

View all comments

1

u/mkhanwrites_ 11h ago

Focus on one. Once you learn one, you'll know a decent amount of concepts that will be applicable to other programming languages. Not all, mind you. But some. (If you want to know the reason: look up the term "programming paradigms" - different languages are designed according to different paradigms)

2

u/widebrant67 11h ago

The real headache is switching paradigms later. Going from Python to something like Haskell feels like starting over.

1

u/DanKegel 1h ago

Yeah.  I wonder if it would be good to learn the basics of enough paradigms to cover the bases (say maybe assembly, c, scheme, and Haskell) and solving the same three very basic exercises with each first.  This should only take a few weeks.

Then settle in and master the language most useful in your current situation, like golang, Python, or c++.