IMS_Blog

Because I forget stuff. Part of norcimo.com

Note: It appears you must have reached this page by a deep level URL. In general this site is currently down and unmaintained. See here

About This Post

Originally posted August 21 2004 at 00:08 under Computing and Physics. 0 Comments. Trackbacks Disabled.

Other People’s (Poorly Written) Code

Mood:
Frustrated
Location:
Stuck in front of the laptop
Music:
None, my head hurts too much

Editing code written by someone else is always tricky, especially when it wasn’t written as part of a team but as a fairly individual ad hoc effort. When it’s in a language you only half understand it certainly doesn’t help. What makes it really difficult, though, is when it’s simply poorly written. Not just a lack of comments (I sort of expect that really—I’m even pretty guilty of it myself) but why use some sort of subroutine or function when you can have the same block of lines three or four times in different places doing exactly the same thing. And that lack of modulisation also helps to make everything so entrenched it’s bloody difficult to change. if I hadn’t a thesis to write (and yes, that’s why I’m playing with this code) I’d rewrite the whole thing from scratch I’m that sick of it. Time does not allow however, so I hack on, growling.

Comments (0):

Post a comment

Name and email address are required. Email address is never shown. If you enter a URL your name will be linked to it (this and other links will have the rel attribute set to contain nofollow). Markup allowed: <a href="" title="" rel=""> <em> <strong> <abbr title=""> <acronym title=""> <p> <br />. Anything else is stripped; please be valid. Single linebreaks automatically convert to <br />, double to <p>'s. Additionally anything that looks like a bare URL should get automagically linked. Many acronyms and abbreviations are also automagically handled.

Please note this blog's comment policy

Trackbacks (0):

Trackback URL: http://www.norcimo.com/MT/mt-tb.cgi/95

Advanced...

This Crazy Fool

Who:
Dr Ian Scott
Where:
Croydon (and Gateshead), United Kingdom
Contact:
ian@norcimo.com
What:
Bullding Services Engineer (EngDesign), PhD in Physics (University of York), football fanatic (Newcastle United), open source enthusiast (mainly Mozilla)

More about me [Disclaimer]

You may subscribe to IMS_Blog using the RSS Feed, the Atom Feed or by email.

Creative Commons License

© Ian Scott. Powered by Movable Type 3.2. This blog uses valid XHTML 1.0 Strict and valid CSS. All times are local UK time. For further details see the IMS_Blog about page.. All my feeds in one.