Juerd wrote:

Rod Adams skribis 2005-03-21 14:25 (-0600):


if $expr {
nothing;
}
is harder to get confused over, IMO



Except writing something when you mean nothing is kind of weird. It makes sense in rules because it doesn't usually make sense to match nothingness, but for blocks, I'd hate to see { } be invalid or meaning anything other than the proposed nothing.


Juerd


I'd like to see nothing as just an alias for {}.

 if $expr
 {
   do nothing;
 }

Possibly the most clear piece of P6 code ever.

=Austin



Reply via email to