3 ms·
"The desire to craft perfect code is an obstacle. Know how to do it better? Congratulations, you will be permanently dissatisfied." One way to think about it i
by greenyoda 9y ago
"The desire to craft perfect code is an obstacle. Know how to do it better? Congratulations, you will be permanently dissatisfied."
One way to think about it is: A programmer's job is not writing code. It's creating solutions to problems that the people who are paying you have. These solutions are usually time-sensitive, and can never wait for someone to keep rewriting their code until it's perfect. If you can learn to be satisfied about delivering solutions rather than code, it might make you feel (and perform) better. (And if you can deliver a solution without writing any code at all, you've saved your employer a lot of money.)
Another possible source of satisfaction is constantly learning how to deliver better code with the available resources. If you look back on code you wrote years ago and you see that you're doing it better today (even if it still isn't perfect), that can be a source of satisfaction.
Also, if you eventually become a lead programmer, you can help bring up the quality of an entire team and have a greater impact.
- taylodl 9y agoExactly - there is no such thing as perfect code. All code has constraints: maintainability, securability, scalability, flexibility and so on. You can't maximize all the constraints simultaneously as some are opposed. That's the nature of the beast. Once you realize there is no such thing as perfect code AND you realize your job isn't to produce code but to provide solutions then you'll be on your way to becoming a good programmer. Good luck!
- alacombe 9y agoAnd then, real question from another recent experience: "here's our network, optimize it" ... without any insight on any existing problem to solve, nor details about constraints or requirements.
- alacombe 9y ago> One way to think about it is: A programmer's job is not writing code. Yet, interview revolves around: implement a link-list/LIFO algorithm.