in reply to
Re: Stupid mistakes I repeatedly make
in thread Stupid mistakes I repeatedly make
Well, hey, at least they'll be different stupid mistakes. I was reassured by most of the articles on this thread that Perl 6 will prevent most of the mistakes that people make in Perl 5. The only red flag I saw was how semicolons sneak into lists sometimes, so I'm thinking about how to keep that from becoming tragic in Perl 6. Currently it would turn the list into a list of lists, which is not likely to return a useful diagnostic. Probably we'll fix it by only differentiating semicolon from comma if bound
to an array of Lazy lists. Otherwise we can just make it behave like a strange looking comma, which will effectively be a no-op if you accidentally type it at the end of a list.