in reply to Capturing parenthesis and grouping square brackets
If one were to design a new programming language, from first principles and in the void Universe, I think your proposal has merit.
However there are two points that strongly speak against adapting it in Perl 6:
First, Perl 6 doesn't exist in a void Universe. Most programmers that try out Perl 6 have some experience with other programming languages, and we should try not to break too much for them. We use * for multiplication, not because it's the best thing to do, but because everybody does it. We do some stuff differently than the rest, but only where there is a very good reason.
Second, it's too late. This may surprise some folks, but there is a considerable Perl 6 code base and user base out there that would need rewriting and retraining. While the Perl 6 design team is still open to new ideas, there haven't been any radical changes to syntax or semantics in the last few years; and if there will be, it'll just delay things even more.
|
|---|