Live data from Hacker News

Perl, the first postmodern computer language (1999)

wall.org

111–120 of 225 posts

Re: Perl, the first postmodern computer language (1999)

#111
post #4

Earlier quoted context omitted.

Saying that to a lingüist it's... interesting. On Perl, CPAN was and it's still amazing, and lots of stuff came from that. For example, Mojolicious for the web, BioPerl for bioinformatics and Rivescript to write silly chatbots, among others. Oh, and pkg_* under OpenBSD. INB4 gen-z's rant on "PeRl It'S UnRead@ble", check the intro from "perldoc perlintro". EDIT: Unless I'm sure the deleted link it's right, I'd avoid p…

I'm more than two decades away from being gen-z, and I still agree with that sentiment. There might be that theoretical wise and disciplined Perl programmer writing well structured and readable code, but wherever I interfaced with people writing/maintaining Perl code, it was the most hastily thrown together crap that once was a small tool that "just worked" and then slowly grew completely out of hands over the years.…

Be sure to blame the saw and the hammer, as it can't be the fault of the carpenter.

Re: Perl, the first postmodern computer language (1999)

#112

Earlier quoted context omitted.

I don't know if its backwards compatibility reaches into the 90s but I've been using ruby for this for like a decade now. Most envs that ship with anything ship with ruby and I've only very rarely run into version problems. I think people tend to associate it only with a certain era of web dev, but it has remained a good scripting language with a large, consistent, well-documented standard library for a long time now…

Ruby is great, and I know people who swear by it, but I've yet to come across a GNU/Linux distro which didn't come with Perl installed, while Ruby is not a given in the default, e.g. my current Manjaro. The compatibility really does stretch back all the way to '94.

On OpenBSD, some of the scripts or utils (mandoc) are written in Perl because the developers prefer it. There have been some email chains on the mailing lists about having Perl in base. Most of them are interesting to read.

Re: Perl, the first postmodern computer language (1999)

#113

Earlier quoted context omitted.

Powershell takes heavy inspiration and some syntax from Perl.

Only because Perl takes heavy inspiration and syntax from Unix shells.

It's actually a bit more than that.

In "Windows Powershell in Action", Bruce Payette (one of the co-designers of Powershell) states:

"NOTE PowerShell uses the at symbol (@) in a few places, has $_ as a default variable, and uses & as the function call operator. These elements lead people to say that PowerShell looks like Perl."

"In practice, at one point, we did use Perl as a root language, and these elements stem from that period. Later on, the syntax was changed to align more with C#, but we kept these elements because they worked well. In Perl terminology, they contributed significantly to the 'whipupitude quotient' of the language."

Re: Perl, the first postmodern computer language (1999)

#114
post #95
post #91

Modernism: "Less is more"—Mies van der Rohe Postmodernism: "Less is a bore"—Robert Venturi ————— Guided by these famous quotes, if I were to call a programming language a "Modernist" language, I'd think of something that prizes elegance. It can't just be a small language, it has to be a small language with a few features powerful enough to actually do more. I would think of languages like Scheme or Smalltalk or C as…

p.s. This is fun. So what constitutes a Brutalist programming language? It should be something that: - Exposes the construction materials - Implies mass and permanence - Is usually institutional, e.g. libraries, government buildings, public housing. Only rarely shopping centres or company head offices (which were usually done in the "International" style when Brutalism was a thing). What fits that bill? How about SQL…

MUMPS

Re: Perl, the first postmodern computer language (1999)

#115

...to this day, I still can't wrap my head on how PHP even got to exist in a world where Perl was already filling the web niche just fine. Also, if they wouldn't have made it too-weird-for-math-and-physics people, Perl would've probably filled Python's niche too. And with that kind of resources focused on it, Perl 6 could've actually turned up into a clean nice new language that would've unified us all by also suppor…

It's easy; PHP is/was: Whilst the equivalent Perl at the time would be: #!/usr/local/bin/perl print "Content-Type: text/html\r\n\r\n"; print " "; print "Hello world"; print " "; or possibly... #!/usr/local/bin/perl use strict; use warnings; use CGI; my $q = CGI->new; print $q->header('text/html'); print $q->start_html(); print "Hello world"; print $q->end_html(); ...if you were being a bit more more fancy. In other w…

>> In other words, there was no standard templating.

I am not sure how much of a standard it was, but Perl Mason was a superb web site templating system.

Amazon and many other websites used it for years because it was flexible, high performance, and had fewer security problems compared to PHP.

http://www.masonhq.com/sites

https://masonbook.houseabsolute.com/book/

Re: Perl, the first postmodern computer language (1999)

#116
post #37

Perl is the sexiest programming language because “there’s more than one way to do it.”

At first glance I thought you wrote "Perl is the sexist programming language because..."

https://geekfeminism.fandom.com/wiki/Perl_is_my_bitch

>Perl is my bitch was a slogan used by the London Perl Mongers (a Perl user group) and printed on t-shirts ca. 2000.

https://geekfeminism.fandom.com/wiki/Acme::Playmate_talk

>At the Open Source Developers Conference in Melbourne in December 2006, Perl community member Adam Kennedy gave a lightning talk (a short (5 minute) talk for which he didn't have to submit an abstract) on the CPAN Acme::Playmate module, a joke Perl module designed to download the measurements of Playboy magazine Playmates from the Playboy website. (The 'Acme' namespace in Perl is the joke namespace.) During his talk Kennedy showed (twice) a single still photo of a Playboy model.

https://geekfeminism.fandom.com/wiki/Randal_Schwartz

>Schwartz often comes up in discussions of sexism in open source because of his open enthusiasm for Hooters restaurants, which he mentions frequently in professional contexts.

>[...] In 2001, Randal's company, Stonehenge Consulting, ran a Hooters Wings Promotion at LISA, a sysadmin conference (an example of booth babes).

>"Stonehenge ran a Hooters Wings promotion at the booth at LISA 2001. We gave away 1000 wings in about 45 minutes, with the aid of two Hooters girls Sarah and Lacey."

https://web.archive.org/web/20080212061647/https://www.oblom...

>notes on: perl lightning talks, impressionistically rendered» Stumbling into the Perl Lightning Talks now. Randal Schwartz (looks like Randal. Certainly wearing Randal-like clothes. He's the Hooter's guy, right? I always get him and Tom Phoenix confused. Okay, definitely Randal.)

https://geekfeminism.fandom.com/wiki/Stonehenge_OSCON_partie...

>At OSCON, between 2001 and 2009 (several reports during this period, not necessarily every year), Stonehenge Consulting has held parties on one evening of the conference. At these parties, there are usually women present who are not otherwise connected to the conference. They have variously been reported as scantily clad, present to "entertain" the guests, etc. It is unclear whether these women are connected to the venues in which the events are held or are friends of OSCON attendees.

https://geekfeminism.fandom.com/wiki/Michael_Schwern_v._Noir...

>Michael Schwern, prominent Perl developer and keynote speaker at the National Center for Women & Information Technology's 2013 summit, was arrested in Portland, Oregon on Sept 19, 2013 on two counts of misdemeanor domestic violence charges against his then-spouse Nóirín Plunkett -- specifically, harassment and strangulation.

https://arstechnica.com/gadgets/2021/08/the-perl-foundation-...

>The Perl Foundation is fragmenting over Code of Conduct enforcement. "I'm fresh out of ideas with regards to handling toxicity in the Perl community."

>[...] I have personally used and enjoyed the Perl language for nearly 30 years, and it's distressing to see the bigotry and edgelording coming from prominent elements of the community—not to mention the board's failures to respond decisively. The Perl community is not the first to struggle with "culture wars" revolving around a code of conduct, either, which makes it all the more puzzling why its board seems incapable of formulating one.

http://blogs.perl.org/users/sawyer_x/2012/08/this-is-not-tol...

>This is not tolerated. By Sawyer X on August 31, 2012 10:46 PM under Rant.

>There had been several posts recently about disgusting sexist idiotic behavior on PerlMonks. Most people know my opinion on these issues very well, but I don't think that's good enough. I think we need to actually bring it up and discuss it. I want to thank all the people who wrote about it and specifically Joe McMahon who both spoke of it on blogs.perl.org and on Perlmonks here. No, this is not to be taken lightly. And no, I will not shut up about this. And yes, my post is probably gonna be long. I'm sorry, but I need to put it out there.

http://blogs.perl.org/users/joe_mcmahon1/2012/08/why-im-cons...

http://www.modernperlbooks.com/mt/2012/08/you-dont-get-to-ch...

http://blogs.perl.org/users/tinita/2012/08/to-be-or-not-to-b...

http://blogs.perl.org/users/lichtkind/2012/08/to-say-schwern...

http://www.perlmonks.org/?node_id=989181

http://blogs.perl.org/users/joe_mcmahon1/2012/08/why-im-cons...

https://perlmonks.org/?node_id=989879

Re: Perl, the first postmodern computer language (1999)

#117
post #74

Earlier quoted context omitted.

It's easy; PHP is/was: Whilst the equivalent Perl at the time would be: #!/usr/local/bin/perl print "Content-Type: text/html\r\n\r\n"; print " "; print "Hello world"; print " "; or possibly... #!/usr/local/bin/perl use strict; use warnings; use CGI; my $q = CGI->new; print $q->header('text/html'); print $q->start_html(); print "Hello world"; print $q->end_html(); ...if you were being a bit more more fancy. In other w…

With your first example, there was no easy path to compatibly handling form requests. Web browsers really sucked back then. As I understand it, PHP became popular before CGI.pm was ready.

> As I understand it, PHP became popular before CGI.pm was ready.

CGI.pm was created long (...) before PHP was released.

Re: Perl, the first postmodern computer language (1999)

#119

Earlier quoted context omitted.

It's easy; PHP is/was: Whilst the equivalent Perl at the time would be: #!/usr/local/bin/perl print "Content-Type: text/html\r\n\r\n"; print " "; print "Hello world"; print " "; or possibly... #!/usr/local/bin/perl use strict; use warnings; use CGI; my $q = CGI->new; print $q->header('text/html'); print $q->start_html(); print "Hello world"; print $q->end_html(); ...if you were being a bit more more fancy. In other w…

>> In other words, there was no standard templating. I am not sure how much of a standard it was, but Perl Mason was a superb web site templating system. Amazon and many other websites used it for years because it was flexible, high performance, and had fewer security problems compared to PHP. http://www.masonhq.com/sites https://masonbook.houseabsolute.com/book/

I was about to mention HTML::Mason, which was superior to many other templating solutions back then.

The biggest problem for Perl was that PHP was almost built for the web, while Perl was "just a normal programming language."

I wonder where Perl would have been if there had been a packaged and easy to install version of Apache with Perl, mod_perl, HTML::Mason etc. pre-installed in some way in late 90s.

Re: Perl, the first postmodern computer language (1999)

#120
post #59

Perl was the first language I used professionally and I used it almost exclusively for years. I don't understand all the negative comments about its use of sigils, I find them useful and I never got the impression that they made the code less readable but maybe that's because I was never taught the gospel of computer science :) I also appreciate the extended backwards compatibility. I still occasionally run decade-ol…

Here's one reason why sigils could be considered to suck. `@array` - array of values. `$array[1]` - get element 1 of the array. `$array` - What do you think this does? Why can't we just `@array[1]`?

Perl has "contexts" as its type system. Sigils are a part of that.

There's a lesson here somewhere that most people don't generally want to understand stuff. So stuff that's the least bit different don't tend to go mainstream, things like Haskell have a hard time. Perl was a bit different but just happened to go mainstream anyway, and that probably coloured people's feelings for it, for better and for worse.

Post reply on HN