r/learnprogramming • u/NoMolasses9031 • 21h ago
Logic Building or Programming fundamentals which one to prioritize
Should i learn logic building or programming syntax first. And how? Any roadmap?
4
Upvotes
7
u/ninhaomah 21h ago
How you learn how to write poems without knowing basic grammar?
4
u/LegalDebate5423 19h ago
Learn enough syntax to write and run small programs, then practice logic in that language rather than treating them as separate subjects. For example, write a loop that counts matching values, test it on an empty list and a one-item list, and explain why each condition works. That builds syntax and problem-solving together.
1
u/MyNameIsRichardCS54 20h ago
While you can technically learn programming logic without a language, it's a lot harder as you can't check the correctness. Learn a language with it's syntax and use that to apply programming logic.
1
u/suubu-crtiv 18h ago
do both at once. pick python, learn loops, ifs and functions in a week or two, then solve easy problems on paper first before typing. tbh the logic only sticks when you run it and see it fail.
3
u/jakingo 21h ago
Learn basic syntax first, then practice logic by solving small problems. Dont try to master both separately. Build small projects as you learn.
2
u/tony_saufcok 21h ago
Sytax can always be googled. Focus on your fundamentals first and then apply them using your language of choice. Sometimes your pseudocode will also need to be pseudocoded, depending on your language of choice’s capabilities. You may also want to do practice on that.
0
u/IcyScratch8633 20h ago
Wait you guys had a roadmap.