Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Re: Re: Perl Style Guides for Large Projects

by tachyon (Chancellor)
on Nov 08, 2002 at 23:09 UTC ( #211584=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Perl Style Guides for Large Projects
in thread Perl Style Guides for Large Projects

In a perfect world so it would be, however test written after the fact can be invaluable and are better than no tests at all. They come into their own every time you change a single character in your code. It never ceases to amaze me how often seemingly benign changes can have unforseen side effects. It is alway reassuring to be able to make a change, run the tests and KNOW that you have not broken anything by accident.

cheers

tachyon

s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print

  • Comment on Re: Re: Re: Perl Style Guides for Large Projects

Replies are listed 'Best First'.
Re: Re: Re: Re: Perl Style Guides for Large Projects
by strider corinth (Friar) on Nov 09, 2002 at 06:17 UTC
    Hehe. Fair enough. Today was something of a case in point. =)

    I tend to make things seem black and white when I don't really think they are. Tests written before the fact are the ones I find most useful, and I think it's one of the best programming disciplines to make a habit. When specs change, of course, the tests have to change too. And I agree, it is possible to create tests after the fact which are written to spec and don't take the code into account. They're certainly better than nothing.
    --
    Love justice; desire mercy.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://211584]
help
Chatterbox?
[ambrus]: "different specialized employees in different rooms" => so, there's a cleaner guy who cleans up the vomit from the bathroom every morning?
[erix]: makes me think of MMM too (mythical man month): "adding more people to a project makes it slower"
[erix]: that should be "to an already-too-late- project" I think
[ambrus]: oh yes, we have a pretty good example of that when they reorganized the grill place in the restaurant nearby.
[ambrus]: it now has two more people working there, and they're serving slower and more expensive.
[ambrus]: It used to be just a master cook who takes the order and puts the meat and eggs on the open grill plate table, and an assistant who removes them to a plate, adds the side dish, and gives the plate to the people in the queue, plus a cashier.
[ambrus]: Now it has five people instead of three, some sort of call number ticket system where people wait a lot for their food to get ready (it's the same kinds of grilled meat and fish on the same equipment, it won't actually fry slower),
[ambrus]: it's slow as hell, and the food costs significantly more.
[ambrus]: We no longer eat there.
LanX Everybody quotes it, some people read it, and a few people go by it

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (13)
As of 2017-09-22 13:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (264 votes). Check out past polls.

    Notices?