Here is an email I received in response to my essay on how to write unmaintainable code.
loved that essay — some of those tricks are downright cruel.
I have a couple suggestions for messing with those use code beautifiers (in spite of attempts to ban them. ;) )
in the version we have at wvu there are some bugs that drive me crazy. (gnu emacs 19.34.1 (sparc-sun-solaris2.5, motif) of thu may 15 1997 on stat copyright (c) 1996 free software foundation, inc.)
I've learned to avoid //comments and instead use /*comments*/
i've learned to get around that by mixing in complementary boolean expressions
such as:
OpenParen := ( (Char = '(') or ('1' = ')') );
in a second semester Ada class, i was helping someone store an expression in a
tree, and the above was the only way i could get the emacs beautifier to work
correctly - of course for those who don’t use beautifiers would be rather
dumbfounded as to why you would add an always false expression to an or
statement :P It even could be used as a way to ban beautifiers ;)
| You can get the freshest copy of this page from: | or possibly from your local J: drive (Java virtual drive/mindprod.com website mirror) | |
| http://mindprod.com/feedback/unmain/commentmalice.html | J:\mindprod\feedback\unmain\commentmalice.html | |
![]() | ||
| Canadian Mind Products | ||
| mindprod.com IP:[65.110.21.43] | ||
| view | Your face IP:[38.107.191.102] | |
| Feedback | You are visitor number 11. | |