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

Re: [FWP] Goal oriented programming




> Edward> I'm glad the real world doesn't give instuctions like this:
> Edward> Put jelly on bread, but first, toast bread.
> 
> It sure does.
> 
> "You should go to the store unless you're tired."

I think what Perry was objecting to wasn't

	X if Y
or
	X unless Y

so much as 

	X unless (do this)

In the original code that he complained about, the condition part had
a side effect, which is not very much like natural language.



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