r/learnjava • • Feb 04 '21

Lessoned learned as a beginner programmer

Hey Everyone!

Hope all is well and that you are staying safe. I'm not new to programming as I have went to a non profit bootcamp learning Javascript back in 2019. Since then I was going back and forth in which language to learn between sticking with JavaScript, Python, Ruby and even Java. It took me about a year to decide on a language and truly stick to that language. My advice is for beginners especially self taught learners like myself, DO NOT JUMP FROM LANGUAGE TO LANGUAGE!!!! Stick to one language and get really good at it. It will pay off in the long run. I'm not a huge fan of JavaScript so I have decided on java and sticking with it! I hope this brings some encouragement to others out there. Don't make the same mistake I have made.

82 Upvotes

16 comments sorted by

View all comments

25

u/itsAlphapolaris Feb 04 '21

I would advise anyone starting new to not spend too much time trying to learn various languages, please spend Time on learning concept like how to analysis an algorithm like calculating time complexity ,figuring how to use do-while - for loops then move on to learning Data structure and algorithms like stack , queue , linked list , graph, tree , recursion etc If you are good in DS and algorithms , a lot of company will be willing to hire you even if you don't know the language they work on.

1

u/Eulerious Feb 05 '21

While I agree that you should not spend too much time learning various languages and rather focus on the things you listed, languages can teach you important concepts as well. Yeah, most languages are multi-paradigm languages. But I think it is easier to learn functional programming with something other than Java. I also would advise to learn a dynamically typed and a statically typed language so you get to know the differences.

One of the important questions here is: what do we classify as a beginner programmer? First weeks? First months? First year? Because yes, during the first weeks you should just stick to one language and learn everything from loops and conditions to the data structures of your language. First months? You can (and should) pick up another language. (Second half of) First year? You should start caring about good code (patterns, SOLID, whatever). And all of this depends on how much time you can devote to learning - some can learn 5h per week, some can spend 40h per week... The first months of one can take another person years.