|
|
|
|
|
by ChrisMarshallNY
2219 days ago
|
|
The best code is the code you don't write. I'll sometimes spend a couple of hours on a method, removing unnecessary code. It does NOT always end up with more performant code (sometimes, the opposite), but it does reduce the "I don't wanna remove all that code" surface, and it usually* makes the code easier to understand. * I write Swift. Sometimes, less code is more obscure code, and I often have to go back and put code I removed back in, to make it more understandable. |
|
I envision your comment will be taken out of context to literally justify adding mountains of code written by other people. Invented Here Syndrome