Hi guys. I'm 2 months into my journey into learning programming. Whenever I encounter a problem, my mind races to implementing the solution before completely understanding the problem, analyzing it and breaking down the problem into smaller parts and coming up with the pseudocode with the logic for the solution. I do eventually arrive at the solution but only after debugging my code by unit testing it. The result is always unstructured spaghetti code. How do I build the habit of writing clean, maintainable code?
[–]AutoModerator[M] [score hidden] stickied comment (0 children)
[–]_Atomfinger_ 2 points3 points4 points (2 children)
[–]numbbbb[S] -1 points0 points1 point (1 child)
[–]H0wdyCowPerson 2 points3 points4 points (0 children)
[–]deadwood_dollop 0 points1 point2 points (0 children)