> Honestly you guys, I'm not trolling. I'm just getting a lot of ideas > recently. :-) Honestly, I'm not an expert on Perl 6 syntax. (And I actually am being honest... ;-) But I'll throw in my 2 cents anyway. :-)
> <snipah> > > This word: C<then>. > > So, from a recent script of mine: > > my $n; > while $n++ then @accum < $total { > ... > } > > (Where I got in trouble for using C<and> and never executing anything :-) > > To me, it's very clear what's going on, and eliminates the mystery of > the comma in scalar context for a syntax error. To me the word "then" suggests an action based upon what has happened before (as in, if true then do this). Maybe I'm just intoxicated with BASIC, but I still mentally read if constructs as "if conditions then { block }". I know you're thinking "do this then do this", but it just doesn't rub me the right way. As for punctuation vs word, I'm really not sure. A , seems kinda natural to me, but a word would be more useful for writing poetry. As for it being an unused feature that could be amplified by better syntax...I guess I can buy that. I'd just rather not buy it with a keyword like "then". :-) Jonathan