Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

Re: clean up/professionalism

by cat2014 (Monk)
on Feb 13, 2001 at 10:43 UTC ( #58096=note: print w/replies, xml ) Need Help??

in reply to clean up/professionalism

You should check that your code fails gracefully, too. That was a really hard one for me to learn- I wrote code that had all kinds of silly dependecies (servers being kept up by other people's personal cron jobs, report files being available in random places, etc), and then forgot about the scripts. When the script would start randomly failing because something it had depended on changed, it would take me forever to track down the problem. I try to be really paranoid now, and wrap stuff in evals, check return codes from system calls, & write error strings that make sense. It's good to not have to explain to people that you have no clue why your tool started failing over weekend & that you'll have to get back to them in a day or two. Although I guess that if you're leaving, you won't have to deal with that part. (:

It's really hard to make the adjustment from hacking code for your CS homework or your own website to writing code that people depend on to do work, though. I'm always finding new things that I should be doing & becoming embarassed that I hadn't been doing them before. -- cat

Replies are listed 'Best First'.
Re: Re: clean up/professionalism
by malaga (Pilgrim) on Feb 13, 2001 at 10:48 UTC
    thanks cat! i guess i'll start my own checklist, and i'll add your suggestions to it.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://58096]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2017-12-17 01:46 GMT
Find Nodes?
    Voting Booth?
    What programming language do you hate the most?

    Results (460 votes). Check out past polls.