3 ms·
Reminds me of the classic "how to write unmaintainable code": https://cs.fit.edu/~kgallagher/Schtick/How%20To%20Write%20Unmaintainable%20Code.html https://cs.fi
by kogus 4y ago
Reminds me of the classic "how to write unmaintainable code":
https://cs.fit.edu/~kgallagher/Schtick/How%20To%20Write%20Unmaintainable%20Code.html https://cs.fit.edu/~kgallagher/Schtick/How%20To%20Write%20Un...
Especially this bit:
Bedazzling Names
Choose variable names with irrelevant emotional connotation. e.g.:
marypoppins = (superman + starship) / god;
This confuses the reader because they have difficulty disassociating the
emotional connotations of the words from the logic they're trying to think about.
- hulitu 4y agoThis thing is gold. But i think that he misunderstood his audience or the audience did not read till this "This essay is a joke! I apologise if anyone took this literally. " There are a lot of Google and Microsoft programs who implemented his "advice" (i don't use Apple).
- endtime 4y agoI did this in an infosec class in undergrad 15 years ago, inspired by exactly this essay. The first part of the project was to write a program that password protected a file, and the second part was to try and break each other's programs, with full source code access. I think it helped discourage people from trying to deal with mine as opposed to other people's. (Also, several people correctly guessed that it was mine despite the code being nominally anonymous...)
- ajg36 4y agoThank you for sharing that link. I had been looking for that document on and off for at least a decade. Great stuff.