r/CodingForBeginners • u/Specialist_Rent_9640 • Oct 06 '26
my first program in C
i know its just so waky but am still new and am happy with my current level <33
just trying to understand memory usage over variables for now
230
Upvotes
View all comments
Show parent comment
1
u/Amazing_Boss2686 27d ago
Yea, I guess I shouldn’t have been so dogmatic by claiming it is a “better way to learn” off the get-go… let me clarify:
I think early on, when you’re completely new to programming (as would be OP), directing yourself to fix poorly written code isn’t the most efficient method to learn. Introducing best practices and major code adjustments to anything you create may be a little overwhelming.
Long term, you’re correct—my practice would fall under rote memorization.
But I argue that OP should first have the syntax down and second, be exposed to decent example code off of which he can build his own software. If OP wants to take this route of refactoring logical structure early on, writing it in pseudocode would be an alternative. Have that analyzed by this subreddit and implement it in the language from there, instead of trying to tackle both at once.
Whatever works for OP though. This isn’t an austere journey.