Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Short routines matter more in OO?

by bakunin (Scribe)
on Oct 13, 2003 at 17:34 UTC ( #298887=note: print w/replies, xml ) Need Help??


in reply to Short routines matter more in OO?

I don't want to make any comments regarding efficiency. Rather, I want to take on the elegance factor. I have a couple of 200+ liners doing, I believe, a nice job, but whenever I look at them, I want to throw up.

Half a dozen, maybe more nested loops,iterators all over, and gazillions of conditionals, together looking at me to with all their ugliness.

And they are carrying out such a fragile and complicated task that even the idea of a small addition paralyses me with horror.

Thank you tilly! I was expecting a push from someone to deal with this problem. I'm going to reconsider the design, and divide the subroutines.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://298887]
help
Chatterbox?
[stevieb]: ++ atcroft
[atcroft]: .oO(Then there is the effect if a site changes their timezone, such as when the International Date Line was moved by the purchase of Alaska by the US from Russia in 1867, or several places (I cannot recall off-hand) that moved from one side of the Date

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2017-04-29 04:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (531 votes). Check out past polls.