A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Originally posted by David Harkness:
Why the wonderful variable names? That's what I get to deal with! (I know, "Boo hoo, poor Dave" )
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Originally posted by Stan James:
After I argued for a single return at the end I went and wrote an extra return at the top of a method. Maybe I'm evolving a position for immediate return on argument validation. What I put as the first statement of a String formatting method was:
cause it's not worth doing the rest of the method.
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
That's called a Guard Clause - and I really like it.
java amateur
Originally posted by Henry Wong:
I have never been a fan of the "one return" statement rule. I just don't see the benefit.
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Stinging nettles are edible. But I really want to see you try to eat this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
|