Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^5: Why Perl in 2020

by LanX (Saint)
on Dec 11, 2020 at 22:12 UTC ( [id://11125041]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Why Perl in 2020
in thread Why Perl in 2020

> like the Perl 5 "rewrite" of Perl 4

Was P5 really a rewrite of P4, or did you put it in "quotes" for irony?

I always thought it was a very clever piggyback of new concepts on top of P4 to keep full compatibility. Which was brilliant from a marketing perspective.

The resulting problem was high complexity in many aspects not least because of very different concepts breaking orthogonality (I could name dozen of examples).

And that led IMHO to the believe that P6 needed to be the opposite, a total rewrite which must break compatibility.

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

update

clarified grammar, fixed typos ... ( English = TIMTOWTDI Wrong )

Replies are listed 'Best First'.
Re^6: Why Perl in 2020
by eyepopslikeamosquito (Archbishop) on Dec 12, 2020 at 02:12 UTC

    Was P5 really a rewrite of P4, or did you put it in "quotes" for irony?
    No irony this time LanX. I was being deadly serious ... just as I was last time I got into heated arguments about the definition of "rewrite" vs "refactor" ... seems to go with the territory. :) Please note that Larry Wall at least seems to agree with me that Perl 5 was indeed a "rewrite" and not a "refactor".

    Perl 5 was my rewrite of Perl. I want Perl 6 to be the community's rewrite of Perl and of the community.

    -- Larry Wall from Perl 6 archive

    See the full Nobody Expects the Agile Imposition (Part VI): Architecture thread for gory details of many more heated arguments around the definition of rewrite vs refactor.

    Update: Just noticed that tilly also agrees that Perl 5 was a rewrite of Perl 4.

      well ... it really depends on the definition of "rewrite" and the dictionaries are not helpful. °

      When in doubt, explain your point:

      I can hardly imagine reinventing Perl5 from scratch and keeping that degree of compatibility with Perl4, so he must have reused the old code base somehow (think of all those complex parsing rules alone)

      Perl6 on the other hand was recoded from scratch, AFAIK.

      Cheers Rolf
      (addicted to the Perl Programming Language :)
      Wikisyntax for the Monastery

      °) the German translations include both "reshaping a text" and "writing it new"

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11125041]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2024-03-28 22:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found