Found this bit of funny goodness in the Cakewalk NewsGroup

Posted on

Czar of Midi
Administrator Since: Apr 04, 2002

thc.org/root/phun/unmaintain.html

One of the senior code writer's found this bit and posted it in the news group. I found myself laughing out loud at some of it.

I can see were some of this could really be true.

[ Back to Top ]


The Eternal Student
Member
Since: Oct 08, 2005


Dec 14, 2005 11:08 pm

lol.. that's pretty freakin funny. I couldn't imagine trying to deal with code written like that. I have a hard enough time when people don't carry units in their code...lol.

I am not a crook's head
Member
Since: Mar 14, 2003


Dec 14, 2005 11:24 pm

OH MY GOD ITS MY LIFE

I am not a crook's head
Member
Since: Mar 14, 2003


Dec 14, 2005 11:36 pm

and after reading it, it really is my life. I maintain code written by ex-Microsoft programmers (Expedia). They were brilliant, and sometimes too brilliant...its amazing what somebody can put together right before early retirement as a millionaire. Man, there's some frightening stuff in that code.

But they cling whole-heartedly to the (actually very helpful) art of Hungarian Notation. So, we end up with variable names like

[code]m_prgrgmflFirst[isprgPsz].FThirdTuesdayOfOddNumberedMonth()->RtrIntl.m_dwLast[/code]

or some goddamn thing that looks like a severe hand injury was just delivered to the programmer.

I'm going to forward this on to my teammates and I can guarantee mass laughter up and down our aisle tomorrow morning.

Administrator
Since: Apr 03, 2002


Dec 14, 2005 11:38 pm

You coders should get a look at the ASP code behind the elctronic order system behind Nextel Partners cell phone ordering and customer care sites...that was such nasty code it became the first contract I ever said "nope, I'm done" and left the contract early...absolutely the worst code I have ever seen in my life...

Eat Spam before it eats YOU!!!
Member
Since: May 11, 2002


Dec 14, 2005 11:41 pm

heh I used to have a small SMAUG MUD going which is where FUSS origionated Fixed Up Stock Source was origionally Fixed Up Smaug Source... and I recognize a number of those elements... but I didn't see a mention for a dependency on third party patches hosted on geocities webpages... :/ ...or that source should be relased once every couple years and users should look in the mailing list archive to apply submitted patches...

I am not a crook's head
Member
Since: Mar 14, 2003


Dec 14, 2005 11:43 pm

Oh its amazing how some people visualize the project...I've read (and written) my share of bad code.

Ever have one of those days when you're reading through a bit of code thinking "who the hell wrote this?"...then you look it up and it was you. Doh! Stupid me for coding it this way.

Well at least I don't have to feel bad about thinking I could always do it better than someone else...because I can apparently always do it better than myself as well :)

Administrator
Since: Apr 03, 2002


Dec 14, 2005 11:45 pm

oh yeah, when I redo sections of HRC sometimes I think "man, how long ago did I write this crap?"

The Eternal Student
Member
Since: Oct 08, 2005


Dec 15, 2005 12:08 am

Yeah, it's pretty funny to go back to see stuff you wrote a couple years ago and think "what the heck was I thinking?". Yeah, I'm just getting started but it's already happened to me...lol.


Prince CZAR-ming
Member
Since: Apr 08, 2004


Dec 15, 2005 12:53 pm

I've done both, sometimes shudder at my blindness, and penchant for spagetti, but a few times, I've gone back to year old code, and was totally impressed with how i've figured out something, or made something work.

But mostly, it's the first one =)

Czar of Midi
Administrator
Since: Apr 04, 2002


Dec 15, 2005 09:40 pm

Glad you guy's enjoyed it. I am definately not a code writer, at least of this type. I write code for digital electronic control's which can be along the same line's but nothing as in depth as this.

I remember when I started writing code for building my own StudioWare panels in Sonar I used to do the same kind of stupid thing's so nobody would figure out how to copy it. But when I needed to edit one later down the road I would sit and scratch my head not knowing why I used certain alias's and such and would spend a couple hour's trying to figure out what the heck I had done.

Related Forum Topics:



If you would like to participate in the forum discussions, feel free to register for your free membership.