in reply to Re^2: A comparison of Perl vs. JavaScript -- a reference table.
in thread A comparison of Perl vs. JavaScript -- a reference table.

I heard him tell the story at CurryOn 2015 in Prague. IIRC, he was not only hired to write a Scheme like dialect, but he actually wrote it that way. When he was almost done like a week before the contract end, they asked him to change the syntax to be more Java-like.

map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

Replies are listed 'Best First'.
Re^4: A comparison of Perl vs. JavaScript -- a reference table.
by LanX (Sage) on Dec 15, 2020 at 17:44 UTC
    Did he mention Perl?

    I'm also asking because Perl lacks Lisp'ish macros - pretty much like JS does.

    OTOH is his regex syntax based on Perl 4, so he probably didn't know Perl 5 and features like private vars, anonymous subs and closures, are just a Co evolution.

    ( not sure if typecasting of primitive types is Lisp'ish, elisp is no good role model)

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

      He didn't. In fact, no one at the conference did :-( But I was able to submit some patches to a Perl project during a boring presentation.

      map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]