I don’t like coding, so I became a systems administrator.
Today, I spent about three hours “coding” a script. Before I started my testing phase to see if all the code put together would work as intended, I just did a pass over the code. I literally just stared at it for a solid 20+ minutes to make sure it made sense.
I imagine any form of “real” programming is going to require a lot more staring for a lot longer just to make sure the code isn’t profoundly screwed up.
Sometimes, very rare but still, I can stare at the screen for the whole day and write zero lines of code. These rare days are the most demanding and the most stressful. Any monkey can “write code”, understanding the business logic of a complex application - that’s a very taxing mental work.
After 15 minutes I switch tasks and come back to it at a later date. Do the dishes or something
I had a theoretical math professor. He said something along the lines of, “Being a theoretical math professor is the best job in the world. You can lean back in your chair, put your feet on your desk and close your eyes, and no one can tell if you’re working or having a nap.”
If staring at it isn’t giving the results you expect, try not staring at it. Math, much like photons, functions differently when observed.
Tbh a good builder/technician will do this too when faced with a complicated fix
Same thing; every action has an opposite reaction, whether it’s code or physical engineering
I’m a carpenter, I do high end stuff for rich people with really expensive pieces of wood. I’ll stare as much as I need to on the issues I have or even before starting anything. Need to think about every way it could go wrong.
How do you prepare for “world ends in nuclear holocaust?” Seems a bit difficult to account for.