Tuesday, July 01, 2003 5:37 PM Jan Tielens

Hilarious article: How To Write Unmaintainable Code

Roy posted a link to a hilarious article about how to write unmaintainable code. Since last year I converted a VB6 application to ASP, I really understand Roy. I think the author of the original application must have read this article, before he started coding! ;-)

My favourites:

  • Be Abstract: In naming functions and variables, make heavy use of abstract words like it, everything, data, handle, stuff, do, routine, perform and the digits e.g. routineX48, PerformDataFunction, DoIt, HandleStuff and do_args_method.
  • Document How Not Why: Document only the details of what a program does, not what it is attempting to accomplish. That way, if there is a bug, the fixer will have no clue what the code should be doing.
  • Let's start off with probably the most fiendish technique ever devised: Compile the code to an executable. If it works, then just make one or two small little changes in the source code...in each module. But don't bother recompiling these. You can do that later when you have more time, and when there's time for debugging. When the hapless maintenance programmer years later makes a change and the code no longer works, she will erroneously assume it must be something she recently changed. You will send her off on a wild goose chase that will keep her busy for weeks.
  • The more changes you can make between versions the better, you don't want users to become bored with the same old API or user interface year after year. Finally, if you can make this change without the users noticing, this is better still - it will keep them on their toes, and keep them from becoming complacent.

Comments

# re: Hilarious article: How To Write Unmaintainable Code

Tuesday, July 01, 2003 8:28 AM by Tim Marman

Yeah - that was circulating awhile back. I sent it to my CS professor who was quite a nut about maintainable code and style.

I thought it was a lot funnier until I dealt with code that prescribed to a few of the techniques mentioned. Apparently, whoever wrote the code thought this article was not being sarcastic :)

# re: Hilarious article: How To Write Unmaintainable Code

Tuesday, July 08, 2003 12:55 AM by Bernard Vander Beken

Which reminds me of Joe Reich's tip: http://www.cyphersolutions.com/joe.reich/downloads/tip.jpg

# re: Hilarious article: How To Write Unmaintainable Code

Monday, April 30, 2007 7:44 AM by Mishel

<a href=http://02.vip-get.info/virgenes-desnudas/>virgenes desnudas</a>|

<a href=http://02.vip-get.info/mayra-veronica-desnuda/>mayra veronica desnuda</a>|

<a href=http://02.vip-get.info/fotos-de-britney-spears-desnuda/>fotos de britney spears desnuda</a>|

<a href=http://02.vip-get.info/manterola-desnuda/>manterola desnuda</a>|

<a href=http://02.vip-get.info/ninas-desnudas/>ninas desnudas</a>|

<a href=http://02.vip-get.info/mujers-desnudas/>mujers desnudas</a>|

<a href=http://02.vip-get.info/peruanas-desnudas/>peruanas desnudas</a>|

<a href=http://02.vip-get.info/fotos-de-alicia-machado-desnuda/>fotos de alicia machado desnuda</a>|

<a href=http://02.vip-get.info/chicas-desnudas-gratis/>chicas desnudas gratis</a>|

<a href=http://02.vip-get.info/fotos-mujeres-desnudas/>fotos mujeres desnudas</a>|

<a href=http://02.vip-get.info/barbara-mori-desnuda/>barbara mori desnuda</a>|

<a href=http://02.vip-get.info/ana-lucia-dominguez-desnuda/>ana lucia dominguez desnuda</a>|

<a href=http://02.vip-get.info/americanas-desnudas/>americanas desnudas</a>|

<a href=http://02.vip-get.info/ingrid-coronado-desnuda/>ingrid coronado desnuda</a>|

<a href=http://02.vip-get.info/mujeres-maduras-desnudas/>mujeres maduras desnudas</a>|

<a href=http://02.vip-get.info/morenas-desnudas/>morenas desnudas</a>|

<a href=http://02.vip-get.info/paz-vega-desnuda/>paz vega desnuda</a>|

<a href=http://02.vip-get.info/mujeres-negras-desnudas/>mujeres negras desnudas</a>|

<a href=http://02.vip-get.info/bellas-desnudas/>bellas desnudas</a>|

<a href=http://02.vip-get.info/desnudas-en-la-playa/>desnudas en la playa</a>|

# re: Hilarious article: How To Write Unmaintainable Code

Saturday, May 05, 2007 8:31 PM by ...

[URL=http://www.resistqenza.info/fano] fano [/URL]   <a href='http://www.resistqenza.info/fano'> fano </a> [URL=http://www.resistqenza.info/configurare] configurare [/URL]   <a href='http://www.resistqenza.info/configurare'> configurare </a> [URL=http://www.resistqenza.info/industriale] industriale [/URL]   <a href='http://www.resistqenza.info/industriale'> industriale </a> [URL=http://www.resistqenza.info/trends] trends [/URL]   <a href='http://www.resistqenza.info/trends'> trends </a> [URL=http://www.resistqenza.info/roberta] roberta [/URL]   <a href='http://www.resistqenza.info/roberta'> roberta </a> [URL=http://www.resistqenza.info/suse] suse [/URL]   <a href='http://www.resistqenza.info/suse'> suse </a> [URL=http://www.resistqenza.info/telecomunicazioni] telecomunicazioni [/URL]   <a href='http://www.resistqenza.info/telecomunicazioni'> telecomunicazioni </a> [URL=http://www.resistqenza.info/tecnico] tecnico [/URL]   <a href='http://www.resistqenza.info/tecnico'> tecnico </a> [URL=http://www.resistqenza.info/obbligo] obbligo [/URL]   <a href='http://www.resistqenza.info/obbligo'> obbligo </a> [URL=http://www.resistqenza.info/double] double [/URL]   <a href='http://www.resistqenza.info/double'> double </a> [URL=http://www.resistqenza.info/cavalieri] cavalieri [/URL]   <a href='http://www.resistqenza.info/cavalieri'> cavalieri </a> [URL=http://www.resistqenza.info/unit] unit [/URL]   <a href='http://www.resistqenza.info/unit'> unit </a> [URL=http://www.resistqenza.info/japan] japan [/URL]   <a href='http://www.resistqenza.info/japan'> japan </a> [URL=http://www.resistqenza.info/arco] arco [/URL]   <a href='http://www.resistqenza.info/arco'> arco </a> [URL=http://www.resistqenza.info/sarah] sarah [/URL]   <a href='http://www.resistqenza.info/sarah'> sarah </a> [URL=http://www.resistqenza.info/aliquote] aliquote [/URL]   <a href='http://www.resistqenza.info/aliquote'> aliquote </a> [URL=http://www.resistqenza.info/agente] agente [/URL]   <a href='http://www.resistqenza.info/agente'> agente </a> [URL=http://www.resistqenza.info/promozioni] promozioni [/URL]   <a href='http://www.resistqenza.info/promozioni'> promozioni </a> [URL=http://www.resistqenza.info/michael] michael [/URL]   <a href='http://www.resistqenza.info/michael'> michael </a> [URL=http://www.resistqenza.info/stazioni] stazioni [/URL]   <a href='http://www.resistqenza.info/stazioni'> stazioni </a> [URL=http://www.resistqenza.info/unghie] unghie [/URL]   <a href='http://www.resistqenza.info/unghie'> unghie </a> [URL=http://www.resistqenza.info/songs] songs [/URL]   <a href='http://www.resistqenza.info/songs'> songs </a> [URL=http://www.resistqenza.info/zero] zero [/URL]   <a href='http://www.resistqenza.info/zero'> zero </a> [URL=http://www.resistqenza.info/campi] campi [/URL]   <a href='http://www.resistqenza.info/campi'> campi </a> [URL=http://www.resistqenza.info/acces] acces [/URL]   <a href='http://www.resistqenza.info/acces'> acces </a>

# re: Hilarious article: How To Write Unmaintainable Code

Sunday, May 06, 2007 9:10 AM by ...

[URL=http://www.pvnower.org/grazie] grazie [/URL]   <a href='http://www.pvnower.org/grazie'> grazie </a> [URL=http://www.pvnower.org/freni] freni [/URL]   <a href='http://www.pvnower.org/freni'> freni </a> [URL=http://www.pvnower.org/francais] francais [/URL]   <a href='http://www.pvnower.org/francais'> francais </a> [URL=http://www.pvnower.org/ingrosso] ingrosso [/URL]   <a href='http://www.pvnower.org/ingrosso'> ingrosso </a> [URL=http://www.pvnower.org/altri] altri [/URL]   <a href='http://www.pvnower.org/altri'> altri </a> [URL=http://www.pvnower.org/meccanico] meccanico [/URL]   <a href='http://www.pvnower.org/meccanico'> meccanico </a> [URL=http://www.pvnower.org/manuale] manuale [/URL]   <a href='http://www.pvnower.org/manuale'> manuale </a> [URL=http://www.pvnower.org/storico] storico [/URL]   <a href='http://www.pvnower.org/storico'> storico </a> [URL=http://www.pvnower.org/denti] denti [/URL]   <a href='http://www.pvnower.org/denti'> denti </a> [URL=http://www.pvnower.org/italien] italien [/URL]   <a href='http://www.pvnower.org/italien'> italien </a> [URL=http://www.pvnower.org/sito] sito [/URL]   <a href='http://www.pvnower.org/sito'> sito </a> [URL=http://www.pvnower.org/penale] penale [/URL]   <a href='http://www.pvnower.org/penale'> penale </a> [URL=http://www.pvnower.org/molto] molto [/URL]   <a href='http://www.pvnower.org/molto'> molto </a> [URL=http://www.pvnower.org/idraulica] idraulica [/URL]   <a href='http://www.pvnower.org/idraulica'> idraulica </a> [URL=http://www.pvnower.org/frizione] frizione [/URL]   <a href='http://www.pvnower.org/frizione'> frizione </a> [URL=http://www.pvnower.org/introduzione] introduzione [/URL]   <a href='http://www.pvnower.org/introduzione'> introduzione </a> [URL=http://www.pvnower.org/cronaca] cronaca [/URL]   <a href='http://www.pvnower.org/cronaca'> cronaca </a> [URL=http://www.pvnower.org/ancora] ancora [/URL]   <a href='http://www.pvnower.org/ancora'> ancora </a> [URL=http://www.pvnower.org/anche] anche [/URL]   <a href='http://www.pvnower.org/anche'> anche </a> [URL=http://www.pvnower.org/portatili] portatili [/URL]   <a href='http://www.pvnower.org/portatili'> portatili </a> [URL=http://www.pvnower.org/cassazione] cassazione [/URL]   <a href='http://www.pvnower.org/cassazione'> cassazione </a> [URL=http://www.pvnower.org/problemi] problemi [/URL]   <a href='http://www.pvnower.org/problemi'> problemi </a> [URL=http://www.pvnower.org/ruota] ruota [/URL]   <a href='http://www.pvnower.org/ruota'> ruota </a> [URL=http://www.pvnower.org/vetro] vetro [/URL]   <a href='http://www.pvnower.org/vetro'> vetro </a> [URL=http://www.pvnower.org/stampa] stampa [/URL]   <a href='http://www.pvnower.org/stampa'> stampa </a>

# re: Hilarious article: How To Write Unmaintainable Code

Friday, May 11, 2007 2:15 PM by ...

[URL=http://www.liberib072.org/nannini] nannini [/URL]   <a href='http://www.liberib072.org/nannini'> nannini </a> [URL=http://www.liberib072.org/jeep] jeep [/URL]   <a href='http://www.liberib072.org/jeep'> jeep </a> [URL=http://www.liberib072.org/colonna] colonna [/URL]   <a href='http://www.liberib072.org/colonna'> colonna </a> [URL=http://www.liberib072.org/operator] operator [/URL]   <a href='http://www.liberib072.org/operator'> operator </a> [URL=http://www.liberib072.org/mercatino] mercatino [/URL]   <a href='http://www.liberib072.org/mercatino'> mercatino </a> [URL=http://www.liberib072.org/vaticano] vaticano [/URL]   <a href='http://www.liberib072.org/vaticano'> vaticano </a> [URL=http://www.liberib072.org/medievale] medievale [/URL]   <a href='http://www.liberib072.org/medievale'> medievale </a> [URL=http://www.liberib072.org/unicredit] unicredit [/URL]   <a href='http://www.liberib072.org/unicredit'> unicredit </a> [URL=http://www.liberib072.org/gratis-video-porno] gratis video porno [/URL]   <a href='http://www.liberib072.org/gratis-video-porno'> gratis video porno </a> [URL=http://www.liberib072.org/double] double [/URL]   <a href='http://www.liberib072.org/double'> double </a> [URL=http://www.liberib072.org/arca] arca [/URL]   <a href='http://www.liberib072.org/arca'> arca </a> [URL=http://www.liberib072.org/animals] animals [/URL]   <a href='http://www.liberib072.org/animals'> animals </a> [URL=http://www.liberib072.org/veterinari] veterinari [/URL]   <a href='http://www.liberib072.org/veterinari'> veterinari </a> [URL=http://www.liberib072.org/macerata] macerata [/URL]   <a href='http://www.liberib072.org/macerata'> macerata </a> [URL=http://www.liberib072.org/david] david [/URL]   <a href='http://www.liberib072.org/david'> david </a> [URL=http://www.liberib072.org/kart] kart [/URL]   <a href='http://www.liberib072.org/kart'> kart </a> [URL=http://www.liberib072.org/partners] partners [/URL]   <a href='http://www.liberib072.org/partners'> partners </a> [URL=http://www.liberib072.org/veterinaria] veterinaria [/URL]   <a href='http://www.liberib072.org/veterinaria'> veterinaria </a> [URL=http://www.liberib072.org/esercizio] esercizio [/URL]   <a href='http://www.liberib072.org/esercizio'> esercizio </a> [URL=http://www.liberib072.org/pena] pena [/URL]   <a href='http://www.liberib072.org/pena'> pena </a> [URL=http://www.liberib072.org/wild] wild [/URL]   <a href='http://www.liberib072.org/wild'> wild </a> [URL=http://www.liberib072.org/plug] plug [/URL]   <a href='http://www.liberib072.org/plug'> plug </a> [URL=http://www.liberib072.org/nazione] nazione [/URL]   <a href='http://www.liberib072.org/nazione'> nazione </a> [URL=http://www.liberib072.org/stradali] stradali [/URL]   <a href='http://www.liberib072.org/stradali'> stradali </a> [URL=http://www.liberib072.org/singolo] singolo [/URL]   <a href='http://www.liberib072.org/singolo'> singolo </a>

# re: Hilarious article: How To Write Unmaintainable Code

Friday, May 11, 2007 9:06 PM by ...

[URL=http://www.thjai.org/limited] limited [/URL]   <a href='http://www.thjai.org/limited'> limited </a> [URL=http://www.thjai.org/pittori] pittori [/URL]   <a href='http://www.thjai.org/pittori'> pittori </a> [URL=http://www.thjai.org/svolti] svolti [/URL]   <a href='http://www.thjai.org/svolti'> svolti </a> [URL=http://www.thjai.org/cross] cross [/URL]   <a href='http://www.thjai.org/cross'> cross </a> [URL=http://www.thjai.org/lame] lame [/URL]   <a href='http://www.thjai.org/lame'> lame </a> [URL=http://www.thjai.org/aumentare] aumentare [/URL]   <a href='http://www.thjai.org/aumentare'> aumentare </a> [URL=http://www.thjai.org/usare] usare [/URL]   <a href='http://www.thjai.org/usare'> usare </a> [URL=http://www.thjai.org/sigma] sigma [/URL]   <a href='http://www.thjai.org/sigma'> sigma </a> [URL=http://www.thjai.org/mykonos] mykonos [/URL]   <a href='http://www.thjai.org/mykonos'> mykonos </a> [URL=http://www.thjai.org/nemico] nemico [/URL]   <a href='http://www.thjai.org/nemico'> nemico </a> [URL=http://www.thjai.org/dimensione] dimensione [/URL]   <a href='http://www.thjai.org/dimensione'> dimensione </a> [URL=http://www.thjai.org/principi] principi [/URL]   <a href='http://www.thjai.org/principi'> principi </a> [URL=http://www.thjai.org/popolari] popolari [/URL]   <a href='http://www.thjai.org/popolari'> popolari </a> [URL=http://www.thjai.org/membership] membership [/URL]   <a href='http://www.thjai.org/membership'> membership </a> [URL=http://www.thjai.org/vangelo] vangelo [/URL]   <a href='http://www.thjai.org/vangelo'> vangelo </a> [URL=http://www.thjai.org/insegnare] insegnare [/URL]   <a href='http://www.thjai.org/insegnare'> insegnare </a> [URL=http://www.thjai.org/scan] scan [/URL]   <a href='http://www.thjai.org/scan'> scan </a> [URL=http://www.thjai.org/wallpapers] wallpapers [/URL]   <a href='http://www.thjai.org/wallpapers'> wallpapers </a> [URL=http://www.thjai.org/brianza] brianza [/URL]   <a href='http://www.thjai.org/brianza'> brianza </a> [URL=http://www.thjai.org/products] products [/URL]   <a href='http://www.thjai.org/products'> products </a> [URL=http://www.thjai.org/extreme] extreme [/URL]   <a href='http://www.thjai.org/extreme'> extreme </a> [URL=http://www.thjai.org/compilazione] compilazione [/URL]   <a href='http://www.thjai.org/compilazione'> compilazione </a> [URL=http://www.thjai.org/scientifico] scientifico [/URL]   <a href='http://www.thjai.org/scientifico'> scientifico </a> [URL=http://www.thjai.org/ship] ship [/URL]   <a href='http://www.thjai.org/ship'> ship </a> [URL=http://www.thjai.org/maine] maine [/URL]   <a href='http://www.thjai.org/maine'> maine </a>

# re: Hilarious article: How To Write Unmaintainable Code

Saturday, May 12, 2007 5:50 PM by ...

[URL=http://www.89ue1.info/prova] prova [/URL]   <a href='http://www.89ue1.info/prova'> prova </a> [URL=http://www.89ue1.info/settimo] settimo [/URL]   <a href='http://www.89ue1.info/settimo'> settimo </a> [URL=http://www.89ue1.info/economici] economici [/URL]   <a href='http://www.89ue1.info/economici'> economici </a> [URL=http://www.89ue1.info/elettrico] elettrico [/URL]   <a href='http://www.89ue1.info/elettrico'> elettrico </a> [URL=http://www.89ue1.info/compatibilita] compatibilita [/URL]   <a href='http://www.89ue1.info/compatibilita'> compatibilita </a> [URL=http://www.89ue1.info/farmaci] farmaci [/URL]   <a href='http://www.89ue1.info/farmaci'> farmaci </a> [URL=http://www.89ue1.info/pompei] pompei [/URL]   <a href='http://www.89ue1.info/pompei'> pompei </a> [URL=http://www.89ue1.info/love] love [/URL]   <a href='http://www.89ue1.info/love'> love </a> [URL=http://www.89ue1.info/noi] noi [/URL]   <a href='http://www.89ue1.info/noi'> noi </a> [URL=http://www.89ue1.info/software] software [/URL]   <a href='http://www.89ue1.info/software'> software </a> [URL=http://www.89ue1.info/didattica] didattica [/URL]   <a href='http://www.89ue1.info/didattica'> didattica </a> [URL=http://www.89ue1.info/wikipedia] wikipedia [/URL]   <a href='http://www.89ue1.info/wikipedia'> wikipedia </a> [URL=http://www.89ue1.info/modifica] modifica [/URL]   <a href='http://www.89ue1.info/modifica'> modifica </a> [URL=http://www.89ue1.info/formaggio] formaggio [/URL]   <a href='http://www.89ue1.info/formaggio'> formaggio </a> [URL=http://www.89ue1.info/simon] simon [/URL]   <a href='http://www.89ue1.info/simon'> simon </a> [URL=http://www.89ue1.info/arcuri-manuela] arcuri manuela [/URL]   <a href='http://www.89ue1.info/arcuri-manuela'> arcuri manuela </a> [URL=http://www.89ue1.info/ostuni] ostuni [/URL]   <a href='http://www.89ue1.info/ostuni'> ostuni </a> [URL=http://www.89ue1.info/avril-lavigne] avril lavigne [/URL]   <a href='http://www.89ue1.info/avril-lavigne'> avril lavigne </a> [URL=http://www.89ue1.info/finale] finale [/URL]   <a href='http://www.89ue1.info/finale'> finale </a> [URL=http://www.89ue1.info/rossi] rossi [/URL]   <a href='http://www.89ue1.info/rossi'> rossi </a> [URL=http://www.89ue1.info/tre-metri-sopra-il-cielo] tre metri sopra il cielo [/URL]   <a href='http://www.89ue1.info/tre-metri-sopra-il-cielo'> tre metri sopra il cielo </a> [URL=http://www.89ue1.info/applicazioni] applicazioni [/URL]   <a href='http://www.89ue1.info/applicazioni'> applicazioni </a> [URL=http://www.89ue1.info/patate] patate [/URL]   <a href='http://www.89ue1.info/patate'> patate </a> [URL=http://www.89ue1.info/giro-ditalia] giro ditalia [/URL]   <a href='http://www.89ue1.info/giro-ditalia'> giro ditalia </a> [URL=http://www.89ue1.info/garibaldi] garibaldi [/URL]   <a href='http://www.89ue1.info/garibaldi'> garibaldi </a>

# re: Hilarious article: How To Write Unmaintainable Code

Monday, May 28, 2007 10:06 AM by yumarA

OLA ROBERTA GUAPA

# re: Hilarious article: How To Write Unmaintainable Code

Tuesday, June 05, 2007 5:05 AM by Manos

Interesting...

# re: Hilarious article: How To Write Unmaintainable Code

Friday, June 08, 2007 3:53 PM by Stephanos

Sorry :(

# re: Hilarious article: How To Write Unmaintainable Code

Sunday, June 10, 2007 8:40 PM by Sebastianos

Cool!