| ▲ | How to Write Unmaintainable Code (1999)(doc.ic.ac.uk) | ||||||||||||||||
| 42 points by downbad_ 13 hours ago | 11 comments | |||||||||||||||||
| ▲ | vharuck 9 hours ago | parent | next [-] | ||||||||||||||||
>4. Use acronyms to keep the code terse. Real men never define acronyms; they understand them genetically. I'll see this and raise inherited SAS code where data sets in the process were named "AAA", "BBB", and so on. To prevent any kind of naming reason, even chronological, new data sets could adopt others' when the existing data set would no longer show up in the program. Which was so helpful when updates needed the previous data. | |||||||||||||||||
| |||||||||||||||||
| ▲ | Panzerschrek 6 hours ago | parent | prev | next [-] | ||||||||||||||||
> Make all of your leaf classes final. After all, you're done with the project - certainly no one else could possibly improve on your work by extending your classes. It's actually a good advice. A class not designed to be extendable should be marked as final. | |||||||||||||||||
| ▲ | oniony 12 hours ago | parent | prev | next [-] | ||||||||||||||||
| ▲ | downbad_ 13 hours ago | parent | prev | next [-] | ||||||||||||||||
| |||||||||||||||||
| ▲ | miqkt 12 hours ago | parent | prev | next [-] | ||||||||||||||||
Ah, time to copy this into the custom instructions for an LLM to amuse myself with. | |||||||||||||||||
| |||||||||||||||||
| ▲ | none2585 12 hours ago | parent | prev [-] | ||||||||||||||||
One of my favorites to come back to periodically | |||||||||||||||||