[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [FWP] Goal oriented programming



> 
> Ed Perry wrote:
> > 
> > I agree with premise (important stuff first) but not the conclusion
> > (action is more important than the condition).
> > 
> > Regardless of what camel suggests the condition is more important:
> 
> That's a mighty sweeping generalization you're making there.
> I don't think you can categorically say the condition is always more
> important.  Many times in my code I have lines like this:
> 
> 	$activity_log->dump()  if $debug;
> 
> or:
> 
> 	$activity_log->dump()  if -t STDIN;
> 
> The condition is NOT more important in cases like this.

My computer thinks so, it alway processes the condition first.
Intentionally writing instructions out of order seems to be of
no benefit, but Vicki says its ok to do it either way.

==== Want to unsubscribe from Fun With Perl?
==== Well, if you insist... Send mail with body "unsubscribe" to
==== fwp-request@technofile.org