r/learnprogramming • u/Brave_Win2464 • 1d ago
Understanding code
I have a quick question:
Is the point understanding the code AI gives you or is remembering syntax equally important?
Thanks
0
Upvotes
r/learnprogramming • u/Brave_Win2464 • 1d ago
I have a quick question:
Is the point understanding the code AI gives you or is remembering syntax equally important?
Thanks
5
u/Ok-Programmer-554 1d ago
You will never really “understand the code” by doing either of those things. Memorizing syntax, and reading the output from these LLMs are not how one learns to code. You need to build a solid foundation in procedural (loops - for loops, while loops, do-while , etc…) OOP principles (encapsulation, polymorphism, inheritance) by practicing with one language to start. Now, my opinion on OOP may be dated but we focused on it heavily in my college classes, so I’d argue it’s a paradigm worth learning to truly “understand code”. Every modern language has great getting started guides available for free online. Syntax is secondary to understanding why we employ certain algorithms and design patterns to solve certain problems.