A quote for the Dev Team

Off topic discussion zone.

Moderators: winston, another_commander, Cody

Post Reply
User avatar
DaddyHoggy
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 8515
Joined: Tue Dec 05, 2006 9:43 pm
Location: Newbury, UK
Contact:

A quote for the Dev Team

Post by DaddyHoggy »

By Kernighan's (as in Kernighan and Ritchie – the C programming language)



"Debugging is twice as hard as writing the program, so if you write the program as cleverly as you can, by definition, you won’t be clever enough to debug it."



:wink: :D
Selezen wrote:
Apparently I was having a DaddyHoggy moment.
Oolite Life is now revealed here
User avatar
Selezen
---- E L I T E ----
---- E L I T E ----
Posts: 2530
Joined: Tue Mar 29, 2005 9:14 am
Location: Tionisla
Contact:

Post by Selezen »

Hee hee hee. That pretty much sums up my job!!

Debugging and modifying undocumented code that has been written by at least 10 people over 20 years is NOT an easy task.

I'm a good programmer (at least in my own head), but this job is a challenge!!
User avatar
DaddyHoggy
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 8515
Joined: Tue Dec 05, 2006 9:43 pm
Location: Newbury, UK
Contact:

Post by DaddyHoggy »

Selezen wrote:
Hee hee hee. That pretty much sums up my job!!

Debugging and modifying undocumented code that has been written by at least 10 people over 20 years is NOT an easy task.

I'm a good programmer (at least in my own head), but this job is a challenge!!
Oddly enough I'm a terrible programmer but not bad at debugging! My first job with the MOD was debug 120,000 lines of undocumented FORTRAN 77 code (which I had never programmed in or indeed seen until my first day on the job), where the programmer(s) had got bored at some point at created variables based on the contents of a greengrocers shop - so at some points the code really was comparing apples to pears (if the code hadn't of been classified I'd have taken a copy of it just to prove the madness of it) - I spent a year on that - fixing the logic of it, getting loops to terminate when they were supposed to, error checking, error trapping, sensible error messages (not - "How the hell did you get here!" which appeared in several variations throughout the code), just generally making it work as described - and I did this all in "vi" which was the only editor my SPARC 5 box had on it at the time.
Selezen wrote:
Apparently I was having a DaddyHoggy moment.
Oolite Life is now revealed here
User avatar
Diziet Sma
---- E L I T E ----
---- E L I T E ----
Posts: 6312
Joined: Mon Apr 06, 2009 12:20 pm
Location: Aboard the Pitviper S.E. "Blackwidow"

Post by Diziet Sma »

DaddyHoggy wrote:
Oddly enough I'm a terrible programmer but not bad at debugging! My first job with the MOD was debug 120,000 lines of undocumented FORTRAN 77 code (which I had never programmed in or indeed seen until my first day on the job), where the programmer(s) had got bored at some point at created variables based on the contents of a greengrocers shop - so at some points the code really was comparing apples to pears (if the code hadn't of been classified I'd have taken a copy of it just to prove the madness of it) - I spent a year on that - fixing the logic of it, getting loops to terminate when they were supposed to, error checking, error trapping, sensible error messages (not - "How the hell did you get here!" which appeared in several variations throughout the code), just generally making it work as described - and I did this all in "vi" which was the only editor my SPARC 5 box had on it at the time.
There'e no doubting I'm a geek then.. I read this and my first thought was, "Wow.. that would be a cool job!" :lol:
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied
User avatar
DaddyHoggy
Intergalactic Spam Assassin
Intergalactic Spam Assassin
Posts: 8515
Joined: Tue Dec 05, 2006 9:43 pm
Location: Newbury, UK
Contact:

Post by DaddyHoggy »

Diziet Sma wrote:
DaddyHoggy wrote:
Oddly enough I'm a terrible programmer but not bad at debugging! My first job with the MOD was debug 120,000 lines of undocumented FORTRAN 77 code (which I had never programmed in or indeed seen until my first day on the job), where the programmer(s) had got bored at some point at created variables based on the contents of a greengrocers shop - so at some points the code really was comparing apples to pears (if the code hadn't of been classified I'd have taken a copy of it just to prove the madness of it) - I spent a year on that - fixing the logic of it, getting loops to terminate when they were supposed to, error checking, error trapping, sensible error messages (not - "How the hell did you get here!" which appeared in several variations throughout the code), just generally making it work as described - and I did this all in "vi" which was the only editor my SPARC 5 box had on it at the time.
There'e no doubting I'm a geek then.. I read this and my first thought was, "Wow.. that would be a cool job!" :lol:
It was a cool job, the code (once working) helped decide the outcome of a pretty large MOD procurement programme - that kinda thing does give you a warm fuzzy feeling inside. (well, when you as one of the analysts think its the right choice (from a technical point of view) ignoring the political machinations going on in the background)
Selezen wrote:
Apparently I was having a DaddyHoggy moment.
Oolite Life is now revealed here
NigelJK
Deadly
Deadly
Posts: 208
Joined: Tue Feb 16, 2010 5:07 pm
Location: Stockport, England

Post by NigelJK »

Dummy post
NigelJK
Deadly
Deadly
Posts: 208
Joined: Tue Feb 16, 2010 5:07 pm
Location: Stockport, England

Post by NigelJK »

Here a good site for thos that need debugging stress relief:

http://thedailywtf.com/
User avatar
Selezen
---- E L I T E ----
---- E L I T E ----
Posts: 2530
Joined: Tue Mar 29, 2005 9:14 am
Location: Tionisla
Contact:

Post by Selezen »

Post Reply