NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
What the developers of Perl6 really need ... (Score:1)
Re: (Score:1)
A reality check?
If you (or perladmin or anyone else) want to give the Perl6 devs such a thing, then there are lots of better ways of doing this than commenting the bikeshed colour.
1) Fix your pet peeve in the source code. Don't like the lack of an install-base on Debian? Make some .deb's and work to get them included in the official Debian repositories. Don't like the lack of contributors? Start recruiting - make people excited about the language.
2) Start playing with Perl 6 to see if it's really as good as
Re:What the developers of Perl6 really need ... (Score:1)
Reply to This
Parent
Re: (Score:1)
Re: (Score:1)
But of course the real question is: if you are not willing to spend the few hours to research what these things are, and how they would benefit your work, why --pray-tell-us-- should anyone be even slightly interested in what you have to say on the matter of Perl6 development?
[[Side question: do you really not know what "Better internals" means? "A robust parser"? "Macros"? "Working Exceptions"? Hmm...]]
There's a lot of pushme-pullyou going on in this comment thread: on the one side chromatic wants to push
Re: (Score:0)
Ah, is that the real question? I was wondering.
Maybe you should be slightly interested because he's a human being, and it might be beneficial not to marginalize [wikipedia.org] and trivialize him? Or because you can't predict where the black swans [wikipedia.org] might come from
Re:What the developers of Perl 6 really need ... (Score:1)
Once in a while a disinterested, uninformed (not meant pejoratively) observer makes a brilliant observation which transforms a field of study. For every one of those, you have to put up with most of a million Time Cubes. (I can think of a few people in this discussion who've written about why those features matter and why anyone should care, not that some people have bothered to look -- nor apparently even ask.)
That's a nice segue to let me be unequivocably clear about the singular thesis of this journal
Re: (Score:1)
LOL! Could this be any more vague?
Re: (Score:1)
Fine, let me spell it out for you.
Perl 5's internals are a mess of poorly documented and often intrinsically contradictory features implemented as mazes of macros calling macros calling macros and pseudo-OO C code implemented as semi-isomorphic structs. There's little distinction between an internal and an external API, and it's almost completely unknowable if changing any part of the API will break the guarantees of backwards source compatibility that p5p tries to maintain even between stable major releas
Re: (Score:1)
As an example of that, I proposed that “
length undef” should silently return undef rather than returning 0 after warning about undef. Rafaël took a first short at implementing this, but it broke thousands of tests, which puzzled him. Nicholas spotted the problem quickly, but it took him an extended tracing session to figure out where all he needed to stick flags in order to make disparate parts of the guts work together so that this would work as specified. When it takes Nicholas and half aRe: (Score:1)
In Perl 6, if
lengthwere written in Perl 6, we'd add another multi variant for the undef case. It's two SLOC. Iflengthwere written in PIR, it's four or five SLOC. Either way, it's trivial code.Re: (Score:1)
Yes -- sorry to have raised the temperature of this discussion.
I agree that they're painfully complex. I have the git clone of the blead repository sitting on my disk as we type. But I think one of the things Perl 5 teaches is the value of staring complexity in the face and beating it to death with the available blunt instruments. Starting over always feels great -- I love doing so with my own code -- but there are reasons that perl5, like many other mature pieces of software, is so ugly. And it will ta
Re: (Score:1)
Many of those reasons, in the case of Perl 5, are very bad reasons though. The biggest problems are the lack of a specification beyond "What someone discovers that the implementation has been doing for several years" and a lack of encapsulation.
That's fair. I believe it will be, but that doesn't happen overnight, and it doesn't happen
Re: (Score:1)
The two main reasons for ugliness I'm talking about are weird platform issues and non-obvious cases where some language behavior makes more sense. It's almost impossible to anticipate these things, so you just have to spend years tripping on and fixing them.
I think Perl 6 has an advantage in uncovering these things because of its heritage, but it's far from automatic.
Re: (Score:1)
But those are not the reasons why the Perl 5 interpreter codebase is so convoluted.
Re: (Score:1)
*Sigh*
My point is that being cross-platform is necessarily ugly, and that it takes time to acquire the warts.