|
||
|
||
| Thu, 13 Feb 2003 |
|
||
|
False laziness and false impatience strike back. Hubris falls over dead! Well,
darned if I didn't just forget everything I ever knew about the three virtues
of a programmer (laziness, impatience, and hubris). Further, the number one
thing I've been studying lately, design, just went out the window. The book entitled "The Pragmatic Programmer discusses a concept called broken windows. Apparently, in New York, it is illegal to have a home with a broken window. It actually encourages others, if a window breaks, to leave it that way. Suddenly, all sorts of people have broken windows. But it gets worse. Now that things appear to be really run down, graffiti begins to appear. And then crime rises in that same area. All because of a broken window. I actually built a house from the ground up, complete with broken windows. I allowed pressure to get things done affect my judgement as to how I should develop a piece of software. I was given a project that I thought would take 2-3 weeks to complete. No big thing. But throughout the whole process, I was frequently told that this needed to be done quickly, as quick as possible. So, I fired up my text editor, and started banging out code to get the job done. Neither Perl nor Vim were at fault here. Several mistakes stand out:
I believe that no matter which way it was coded, it will go into production at the same time. The poor way simply front-loads the visible features. Not included in the time estimates above is the fact that I'm going to go ahead and refactor it to make it right. I'll seperate different functionality into modules, I'll create a config file(s), and I'll use Log4perl to do logging and debugging. I hope to learn from this experience. First, I am eager to fix all the above, and to see how it looks when done properly. Second, I look forward to being able to start another project, and to do it right from the ground up. What disturbs me is that I know all this, and I do it well when I want to. So the learning experience here is to decide to do it, each time. |
||
| /Blog/Computers/Programming/Perl | Permanent Link | Comments (0) | ||
|
|
||
| Comments | ||
|
Post a Comment
trackback TrackBack ping me at: http://www.openthought.org/blosxom.cgi/Blog/Computers/Programming/Perl/hubris_dead.trackback |
||
|
Also, be sure to check out the OpenThought Web Application Environment |
|
Copyright 2003 Eric Andreychek |