I was concerned about Perl6 but then I re-read the Apocalypes and Exeges.
Now I am trying to hold back my enthusiasm because I know it will be at least a year till there is something to use.
The things I like:
- Levels of competance/features. Like "use strict", but now for type checking and other stuff.
- Object everything (not cuz I am a OO lover, but extending hashes will new features like "freeze the keys of a hash in place" are easier.)
- try/throw/catch is great for network programs, errors are rare but they need to be caught; foo() or die; sucks after the first 300 repititions. - named and/or positional parameter declarations is going to be GREAT!. With some optional typeing, half my debugging code will disappear. And compile time errors, not just run time errors.
Things I am not so hot about:
- No explicit iterators, like my $iter := @a.iterator; $iter.getnext. What if I want to walk an array efficiently (ie no for(;;) loop) but be able to stop if one of the values requires immediate attention, then come back to the list. OR doing parallel operations on 3 or 4 or 200 arrays simulaneously.
However, iterators may be able to be constructed with continuations. The Parrot guys have stated the goal that they want to have continuation support in the VM.
- No mention of a standard Pre-Processor. I would like to have assert() and other simple macro expansions without haveing to take a runtime hit on production code.
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|