Tips for getting through learning syntax?
Posted by Kegnation14@reddit | learnprogramming | View on Reddit | 12 comments
I love programming but learning syntax when learning a new language always feels like such a slog and grind to me - definitely the part of the process I least enjoy. Any tips for staying motivated when learning new syntax?
deaddyfreddy@reddit
just use a language with a simpler syntax
Kegnation14@reddit (OP)
real. Time to start building applications in scratch !!
deaddyfreddy@reddit
never tried this in my 10+ years programming career, is it capable to solve real business problems?
backfire10z@reddit
Yes. It can make games and likely do many other things, it’d probably just take ages to do anything remotely complex.
zdanev@reddit
no, scratch is for kids (that can't read well yet)
zdanev@reddit
which language are you learning? it's probably not worth it spending more than an hour purely on syntax. try to write some small programs instead. it's ok to check things in the docs every once in a while.
throwaway6560192@reddit
Don't treat it as a separate part? I assume you already know how to program, so just look at an intro tutorial and start writing.
CODSensei@reddit
Just do exercism learning track for language you want to do. It is very good for learning syntax
skilljoy_dev@reddit
This isn't what you want to hear, but...
...To be honest, the best motivation for learning syntax is:
Just accept and embrace the grind part of it
You just have to grind it out, and once you're done with it, its over, and you don't really have to do it again
Trying to fight against it and looking for a way out of the grind will naturally incline you to just dislike it more and be avoidant
Kegnation14@reddit (OP)
Ngl it kind of was what I wanted to hear lol. Like deep down I think I know I just need to sit down and grind but hearing it from someone else feels nice, thanks :)
skilljoy_dev@reddit
Anytime man.
I recently had this experience with some cybersecurity related material.
This decision and thinking process is what separates the good from the bad. 🤝
Smart-Memory-1029@reddit
Have a set project something easy like a todo list or etc. Something easy as to where you don’t need to think about the ‘business logic’ that goes into it. Then write it out in your new language of choice, figuring out the syntax needed to accomplish each piece.
Also, motivation wise it always helps to have an actual project you want to build, something you really want to exist but you need that new language in order to do it.