It’s been a very long time since I wrote any code at all. [And a good thing too, I hear you say :-) ]. As I get older, I find myself seeking (and occasionally finding) vicarious proxies for many things; one of the commonest proxies I use is reading.
So. While wandering around, I found this article, How To Write Unmaintainable Code. And enjoyed it. Maybe it shows my age.