Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

Re: Linear programming is bad

by andreychek (Parson)
on Mar 25, 2002 at 00:30 UTC ( #153979=note: print w/replies, xml ) Need Help??

in reply to Linear programming is bad

For just about every case, I would have to agree with Ovid's thoughts on this subject. Particularly his point in the following:

    Ugh! What the heck have I done? I took a simple, straightforward program, added three subroutines and several lines of code. Why the heck would I do something like that? What happened to laziness?

This is a trick question, as it isn't actually laziness we're seeing here. Larry calls this false laziness! Laziness isn't about always trying to do the least amount of work now -- laziness is about having the correct program design so that we don't end up rewriting the whole thing every time you need to add or modify a feature. Laziness is about saving time in the long run, which possibly may require spending some extra time up front.

The following is a direct quote from the Camel book, page 993:

The quality that makes you go to great effort to reduce overall energy expenditure. It makes you write labor-saving programs that other people will find useful, and document what you wrote so you don't have to answer so many questions about it. Hence, the first great virtue of a programmer. Also hense, this book.

I think Ovid does a fine job at expressing the intent of the Camel book, and more specifically, the 3 virtues of a good programmer, with his above thoughts. Two thumbs up!

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://153979]
[marto]: #deletefacebook
[LanX]: well try to find my profile xD
[marto]: derp
[marto]: I've never had an account, and wouldn't visit the site
LanX having only a fake profile is hard if a flirt asks to befriend you
[erix]: "surveillance companies" have been rebranded as "social media"
[LanX]: I'm using whatapp though :-/
[LanX]: Snowden remins me of Evan Spiegel (... start of a new conspiracy theory)
[LanX]: yes! The same person!

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2018-03-19 15:27 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (240 votes). Check out past polls.