I'm following the list traffic for Perl6 and I'm getting a little worried. . .
Perl was my first real language. I programmed HTML, BASIC, Delphi, and started learning C and noticed how cool perl was. If they rip out the internals as the following suggests, how much will I have to relearn to keep with Perl?
> And I'm *really* against . as an attribute access mechanism :-) This is my stance as well. One thing to remember is that we're ripping the internals out completely. This means we can redo everything, including the fact that Perl OO is basically "bolted onto the side" as you mention (it is, indeed). I absolutely hate . as well. I always have, even in other languages. The -> notation is much clearer that "hey, we're doing something with a member attribute". If what you're looking for is something like this: $foo->bar = "hello"; # ignoring if bar() is a func, or hash, or ??? I don't see why we can't do that. Just rewrite the internals (hey, we're doing that anyways!). And personally, I'm for this type of thing because you can say: ($foo->bar, $foo->bar2) = split; Without having to worry "is it a function? hash? array?". And we can still leave: $foo::bar = "scalar"; @foo::bar = ("array"); For people that want tight control over this stuff. I agree with Damian. I think the idea of putting two distinct OO methods in Perl is a very bad idea, at best. Fixing some stuff about the current mechanism is, however, a very good idea. I think the RFC would be much better spent if it listed annoyances and proposed fixes, rather than a second whole OO scheme. Remember, we're trying to *decrease* bloat here. :-) I wouldn't worry about breaking stuff at this point. That's a next-stage decision - benefits vs. costs. We're still in the "developing ideas" stage. Remember, we're got conversion scripts, FAQs, Camel-4, and lots of other ways to bring people up to date on changes. -Nate
I'm not sure I want to relearn Perl and I'm not sure I'll like the new Perl as much as I like this one. I'm sure lwall knows what he's doing, Nate knows what he's doing, Randal is keeping an eye on things and all are very good, but I'm concerned about the effect this rewrite will have on my daily life, on script usage, and the like.
J. J. Horner Linux, Perl, Apache, Stronghold, Unix jhorner@knoxlug.org http://www.knoxlug.org/
|
---|
Replies are listed 'Best First'. | |
---|---|
RE: Ripping out Perl internals in Perl6
by coreolyn (Parson) on Aug 14, 2000 at 19:27 UTC | |
RE: Ripping out Perl internals in Perl6
by athomason (Curate) on Aug 14, 2000 at 20:20 UTC | |
by chip (Curate) on Aug 21, 2000 at 08:55 UTC | |
RE: Ripping out Perl internals in Perl6
by mikfire (Deacon) on Aug 14, 2000 at 23:31 UTC | |
RE (tilly) 1: Ripping out Perl internals in Perl6
by tilly (Archbishop) on Aug 15, 2000 at 10:31 UTC | |
by chip (Curate) on Aug 21, 2000 at 08:56 UTC | |
by tilly (Archbishop) on Aug 21, 2000 at 14:21 UTC | |
RE: Ripping out Perl internals in Perl6
by knight (Friar) on Aug 14, 2000 at 23:53 UTC |
Back to
Meditations