Should I worry about my code's architecture at my stage?
Hello everyone,
I recently started following the 2025 CS50x course and I've been having a blast learning so far. I just completed week 2 with the latest given project being the encryption by substitution program.
However, looking at the overall structure of the source code for this program (and all the other assignments), it seems kinda spaghetti. It works as intended but with regards to the placements of certain blocks of code, variable declarations, and my functions either doing too little or too much— it may seem confusing and unorderly, especially if another person were to see it.
Although, since I am still getting a grasp of things, should I really be worrying about the structure of things when the main focus right now is to make stuff work? My logic is that, since writing and structuring code is more of a habitual practice, I should be doing the correct thing right from the beginning.
PS. What are some recommended resources for architectural conventions if ever I should be worrying about this right now?
Posted Jun 23, 2025, 4:33 AM UTC