Spell Checker  Spell Checker

Here is an email I received in response to my essay on how to write unmaintainable code. My responses are marked with a ∇ and green type.

Spell Checker : Jack Swindell : jack.swindell@gmail.com : 2009-03-23

I dearly love the How to write unmaintainable code page that you released tongue in cheek some time ago. I have a modest variation on naming (maybe it’s there, but how can someone excel at doing poor maintenance if they thoroughly read and comprehend all of the comments…). My favorite el-yukko was to find out the maximum length supported for names, and then after writing the code so that it actually works, create a custom spell checker dictionary that corrects each of the names to long mixtures of zeros and capital O characters. Because they usually have a slightly different width on screen, it evens gives the most false hope that one can actually remember the difference — not!

Example: TheFiniteIntegrationThingy becomes 00O0OOO0OO0OOOOO00OO0OOOO

Coding using KOI8 instead of ASCII (American Standard Code for Information Interchange) is fun especially when the project has nothing to do with Russian. Then again, I miss my old Anderson Jacobson modified Selectric with its Olde English type ball that I always used for assembly language listings…

:-)

Tip of the day: Always write self modifying code, and if the processor prevents it, then write an obscure token interpreter so that your code can modify the tokens.

You are unusually inventive, though I think you tip your hand and could easily be convicted of malice. Ideally, those reading your code should presume incompetence.


CMP homejump to top

available on the web at:

http://mindprod.com/feedback/unmain/spellchecker.html
  

optional Replicator mirror
of mindprod.com
on local hard disk J:

J:\mindprod\feedback\unmain\spellchecker.html
logo
Please email your , letters to the editor, errors, omissions, typos, formatting errors, ambiguities, unclear wording, broken/redirected link reports, suggestions to improve this page or comments to Roedy Green : feedback email. If you want your message, your name or email kept confidential, not considered for public posting, please explicitly specify that. Unless you state otherwise, I will treat your message as a letter to the editor that I may or may not publish in the feedback section. After that, it will be too late to retract it. If you disagree with something I said, especially when sending an ad-hominem attack, a rant composed mainly of obscenities or a death threat, please quote the offending passage and cite the web page where you found it, tell me why you think it is wrong, and, if possible, provide some supporting evidence. I can’t very well fix erroneous or ambiguous text if I can’t find it.
Blog
IP:[65.110.21.43]
Your face IP:[50.16.36.153]
You are visitor number 11.