Charles Miller documents the Ghetto Mini-Pattern:
The ghetto is a single file or class where issues of code cleanliness do not apply. It is entered by reputable developers with no small amount of trepidation, and left as quickly as possible.
I’m not actually sure if Charles meant this as a joke, but I think it is a useful pattern. Although patterns should ideally be used to create elegant beautiful code, they have value as well if they at least give structure and shorthand (and therefore understanding) to our darker sides as well.
As for whether I was joking: http://www.jargonfile.com/jargon/html/entry/ha-ha-only-serious.html
Add a comment: