I had the pleasure of being at TPC5 in San Diego, and I
thought Larry gave a great State of the Onion address.
I know people who have some concerns about the intended
syntax changes in Perl6, but Larry sold me on every one
of them.
Except maybe one: he seems intent on making the /x modifier
on by default in a regular expression. I have to admit that
this will encourage the use of cleaner regex code, but
I'm a little concerned about how this will affect newcomers
to the language.
It's not unreasonable for beginners to expect
a literal space character to match the whitespace in
their strings. And even though they probably should
be using \s+ instead of space characters,
the truth is that this makes the language a little bit
harder to learn. I find this amazing, since many of the
other Perl6 syntax changes seem to have the goal
(or at least a side-effect) of making
Perl easier to learn.
Does anyone else have an opinion on this, before it
becomes set in stone?
buckaduck
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.