Hi all!
I was wondering if I could get some advice on what tools and/or methods are helpful for larger projects, or if I’m doing something wrong.
The trigger for this question is the dungeon crawler project (with React) is that I have been working on for a couple of weeks—it’s currently unfinished and has over 1000 lines of code not including assets and styles, and I am starting to experience, or have questions regarding, the following problems:
- Keeping track of all components, functions, and variables in my head is increasingly difficult, and is slowing down almost every aspect related to the project
- Debugging, simplifying/generalising code distracts me from implementing (sometimes dependent) new features. It’s not that I think those things shouldn’t be done, but task switching is costly
- I seem to spend more time improving code that is already written than writing new code now. Again, most of the time it is necessary to do so (I think) because new features need to be implemented, or an earlier design decision is simply flawed. But am I doing something wrong or does one only get better at this with more experience?
- Is it stupid to not use libraries? I hasn’t crossed my mind until literally just before I typed this…
I am currently using Git to keep tracks of things as much as possible (learning Git half way through and migrating from CodePen was the best decision I have made so far), and development is done in Atom (which also helps a lot because of minimap, highlight selected, and some autocomplete features). The project was started with create-react-app.
Thank you very much in advance for any input!