Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: Some Help for a Report About Perl

by soonix (Monsignor)
on Nov 02, 2017 at 06:37 UTC ( #1202573=note: print w/replies, xml ) Need Help??

in reply to Some Help for a Report About Perl

One distinguishing trait of Perl (I think this is unique in programming languages) is that Perl has context.
Upon my first encounter with Perl (coming from languages with "context-free" grammars) I thought this were a design flaw, but it is intentional - Perl is designed after natural languages - and some of the advantages are described by chromatic in his book.
The linked chapter also contains information on other points that make Perl stand out.

Replies are listed 'Best First'.
Re^2: Some Help for a Report About Perl
by eyepopslikeamosquito (Chancellor) on Nov 02, 2017 at 08:10 UTC

    Agreed! As per the quotes below. :)

    Pragmatics is a subfield of linguistics and semiotics that studies the ways in which context contributes to meaning

    -- Pragmatics (wikipedia)

    Neither is the soul of Perl, which rests in the realm of pragmatics

    -- Linguist Larry Wall (aka TimToady) in Re^2: What's wrong with Perl 6?

    Perl has further been described as an "OO language", where "OO" means, not "object-oriented", but "operator-oriented" -- as per the classic Periodic Table of the Operators. Note that Perl can easily support many more operators than most conventional programming languages because alphabetic operators in Perl (e.g. lt) are easily distinguished from variable names because variables must start with a sigil (e.g. $ or @ or %).

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1202573]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2018-06-20 01:09 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (116 votes). Check out past polls.