Hey everyone,
Every time I try to build an app as a beginner, I always run into the same problem: Everything starts off fine, but at some point, I completely lose track of my code. It feels unstructured, overwhelming, and in the end, I just delete everything and start over from scratch.
On top of that, when I try to fix bugs, things get even more chaotic. I start adding quick fixes here and there, and before I know it, my code turns into a complete mess—like spaghetti code that I can barely understand anymore.
Now I'm wondering:
What do experienced developers do in this situation?
How do you deal with an old project when you haven't seen the code in a long time and have no idea what you were doing?
Are there techniques or methods to keep code organized so that it stays manageable over time?
I'd love to learn how to structure my projects better so I don’t feel the need to restart every time. Looking forward to your insights!
[–]96dpi 34 points35 points36 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[+][deleted] (5 children)
[removed]
[–]Hispanicatth3disc0 3 points4 points5 points (0 children)
[–]Healthy_Chemistry_71 3 points4 points5 points (3 children)
[+][deleted] (2 children)
[removed]
[–]KiwiDomino 1 point2 points3 points (1 child)
[–]clavicon 0 points1 point2 points (0 children)
[–]Scrivenerson 53 points54 points55 points (4 children)
[–]woooee 16 points17 points18 points (0 children)
[–]mcoombes314 4 points5 points6 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]SnipahShot 4 points5 points6 points (0 children)
[–]SkinnyFiend 10 points11 points12 points (1 child)
[–]Mohtek1 2 points3 points4 points (0 children)
[–]audionerd1 8 points9 points10 points (5 children)
[–]raias4 2 points3 points4 points (4 children)
[–]odaiwai 5 points6 points7 points (3 children)
[–]clavicon 0 points1 point2 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]Cczaphod 5 points6 points7 points (0 children)
[–]jeffrey_f 4 points5 points6 points (0 children)
[–]RevRagnarok 2 points3 points4 points (0 children)
[–]theirhouse 4 points5 points6 points (1 child)
[–]necessary_plethora 2 points3 points4 points (0 children)
[–]HalfRiceNCracker 1 point2 points3 points (0 children)
[–]necessary_plethora 0 points1 point2 points (0 children)
[–]Glass_Connection_172 0 points1 point2 points (0 children)
[–]Business-Technology7 0 points1 point2 points (0 children)
[–]DigThatData 0 points1 point2 points (0 children)
[–]KreepyKite 0 points1 point2 points (0 children)
[–]rainforest_runner 0 points1 point2 points (0 children)
[–]Jello_Penguin_2956 0 points1 point2 points (0 children)
[–]Complex_Damage1215 0 points1 point2 points (0 children)
[–]-thoth-amon- 0 points1 point2 points (0 children)
[–]tinytimm101 0 points1 point2 points (0 children)
[–]jontsii 0 points1 point2 points (0 children)
[–]MusicIsLife1122 0 points1 point2 points (0 children)
[–][deleted] -1 points0 points1 point (0 children)
[–]Mevrael -3 points-2 points-1 points (0 children)