How to Write Unmaintainable Code
github.com
github.com
> I would like to remind you this essay is copyrighted material. It is illegal to repost it without permission. I will usually give you that permission if you translate the essay into another language and if you provide a link back to the English-language original. I do this for three reasons.
1. That way any change I make to the essay is instantly reflected in any English-language copy anyone reads.
2. That way the formatting and images are preserved. Pirated copies usually screw up the formatting.
3. Google ad revenue from this essay is the main source of income from the website. It pays to keep me on the air.
I don't understand how the creator of this GitHub repo could miss this, it's the first thing in the original article...If this truly is a source of income he should put more effort into making it usable. This is a predictable outcome of anyone neglecting their content.
...never a truer word was said.
It was so horrendous I had to redactor it to keep my sanity.
It takes amazing skill to write code so badly although it's not something I would hire for.
This was in a brand new tool, the programmer was responding to increasing pressure from peers to remove global variables in code. Magic.
"Architecture as Obfuscation".
Additionally do some build system breakage with automatically partially generated code for extra credit.
Of course if you create some DSL or XML, never include schema or any kind of documentation that is not the parser.
And absolute worst: include optimizrd binary only code - no documentation and sources. Reverse engineering is fun!