You are supposed to hate your code.
If you don't hate it, you aren't trying hard enough.
I would not equate hating the code with the code being something to be ashamed of.
I hate every goddamn piece of code I write.
If you don't hate it, you aren't trying hard enough.
I would not equate hating the code with the code being something to be ashamed of.
I hate every goddamn piece of code I write.
love the software, hate the code
The more I code, the more I do it for other people getting behind, and also the more I "flatten" the code. By that I mean:
- Remove recursions
- Remove pretty hacks
- Split dense logic (one line = one thing)
- Replace comments by properly named function calls
- Factorize everything that is happening more than thrice
- Linearize sequences of steps
- Remove nice to have just in case, but never used function parameters
- etc.