in reply to Synopsis 3 is out

I think that the major operator reshuffling will be one of the hardest aspects of Perl6 for me to get used to. Coming from a C background, many of the operators will no longer DWIM.

One thing I am confused about is the need for context sensitivity (+,~?). I like Perl5 taking its best guess as to what I want; it is almost always correct, and the resulting code is cleaner than the new stuff.

-Mark

Replies are listed 'Best First'.
Re: Re: Synopsis 3 is out
by TimToady (Parson) on Mar 19, 2004 at 19:04 UTC
    Perl 6 will also guess, and usually guess right. The context operators are mostly to communicate to the reader of the code, and to force a particular interpretation when Perl wouldn't guess right.
Re^2: Synopsis 3 is out
by adrianh (Chancellor) on Mar 20, 2004 at 14:50 UTC
    One thing I am confused about is the need for context sensitivity (+,~?). I like Perl5 taking its best guess as to what I want; it is almost always correct, and the resulting code is cleaner than the new stuff.

    See Can you spot the problem? for one place where context sensitivity would help.