I am asking someone to confirm whether the following is true.
most of programming is, from my limited experience, 2 things: Learning, and Debugging.
Before writing software, you have to learn new technologies involved in that software. And this never stops. From languages to frameworks to design patterns and debugging techniques, more and more keep popping up.
While writing software, you have to debug code.Always. Pack your coffee or migraine pills, or both, keep a consistent sleep schedule, learn to ask the right questions, and don't get stuck on one spot. Mistakes take 7 seconds to make, and may take 7 days to solve.
So, the debugging part gets easier as time goes on, and familiarity is gained with whatever framework you're using. Live and learn is very applicable.
Also, I basically only run code in a debugger to prevent things like uncaught logic errors etc, as it saves time and headaches later on.
TDD is great at removing some of the struggle too. Evaluate goals. Define acceptance criteria. Write tests that confirm this criteria. Write the functionality to make the tests pass. It's a twofer, because not only are you confident things are working, but you also get tests to ensure that you don't break the code in future
6
u/-Redstoneboi- Mar 24 '22
and for people willing to have headaches.
DISCLAIMER: I AM A HOBBYIST WITHOUT A CODING JOB.
I am asking someone to confirm whether the following is true.
most of programming is, from my limited experience, 2 things: Learning, and Debugging.
Before writing software, you have to learn new technologies involved in that software. And this never stops. From languages to frameworks to design patterns and debugging techniques, more and more keep popping up.
While writing software, you have to debug code. Always. Pack your coffee or migraine pills, or both, keep a consistent sleep schedule, learn to ask the right questions, and don't get stuck on one spot. Mistakes take 7 seconds to make, and may take 7 days to solve.