Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^3: When you first encountered Perl, which feature amazed you the most?

by LanX (Saint)
on Mar 28, 2025 at 18:05 UTC ( [id://11164474]=note: print w/replies, xml ) Need Help??


in reply to Re^2: When you first encountered Perl, which feature amazed you the most?
in thread When you first encountered Perl, which feature amazed you the most?

JavaScript is much younger than Perl, and Brendan Eich admitted that he was influenced by Perl.¹ Perl was THE dominating scripting language back then.

It's also easy to prove if you list the semantic similarities.

It's just the syntax that has to be similar to Java because of the joint venture of Netscape with Sun Microsystems.

Brendon was originally hired to implement a Scheme (Lisp) based integrated language, similar to what was the case with Auto CAD and Emacs. (So one might argue if it's just a feature Perl copied from Lisp.)

Emacs was the (or one of the first) apps to come with an integrated high level scripting language and it proved to be extremely productive.

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

¹) I read it once in an interview but I can't find it anymore.

There is a tendency to punish Perl with silence, to weird it mildly.

The WP page of JS doesn't list Perl as influence, tho even the comments in the code base cite perl.

Most clearly with

  • Array methods which are named like in Perl (pop, etc)
  • String matching methods
  • Perl 4 compatible Regexes
  • "Strict mode" (later add on)
    • Comment on Re^3: When you first encountered Perl, which feature amazed you the most?
  • Log In?
    Username:
    Password:

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

    How do I use this?Last hourOther CB clients
    Other Users?
    Others making s'mores by the fire in the courtyard of the Monastery: (3)
    As of 2026-04-11 05:33 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found

      Notices?
      hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
      erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.