r/learnprogramming • u/jakingo • 15h 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?
13
Upvotes
View all comments
1
u/gm310509 13h ago
My advice would be learn one first.
Try to separate out the concepts from the syntax in your mind. What I mean by that is consider a loop that uses a variable "i" to count from 1 to 10 and print each of the values of i.
All of these will do that, but the syntax is very different:
BASIC (note that some versions may require every line to be numbered (e.g. 10, 20, 30 for this program):
Python:
C:
So, learning multiple languages simultaneously will likely just confuse you, but if you can isolate the concepts (loops, conditional processing and so nn)< then you will understand the building blocks - then all you need to do to start learning a new language is to understand that if you needed a specific construct, e.g. a loop, then you just need to find the syntax for that new language.
There is a bit more too it and different languages do provide features that others don't, or they might take a quite different approach to something that is conceptually the same (dealing with lists for example), but the basic concepts will be similar across most languages.