Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror
×
Perl Programming

Perl Is Undead 283

Ptolemarch writes At the Yet Another Perl Conference beginning today in Orlando, the first keynote squarely blamed Slashdot for starting the "Perl is Dead" meme in 2005. Let's be clear: if Perl was ever dead, it must now be undead. If you can't be at YAPC, you can still watch it live.
This discussion has been archived. No new comments can be posted.

Perl Is Undead

Comments Filter:
  • $_ to that? (Score:3, Funny)

    by Anonymous Coward on Monday June 23, 2014 @06:11PM (#47300973)

    Congregation: $_
    Pastor: $_.

  • by mooingyak ( 720677 ) on Monday June 23, 2014 @06:15PM (#47300999)

    It means that the uninfected humans have to shoot it in the head. Or stake it through the heart. And quickly, before things get worse.

  • 2005 eh? (Score:5, Interesting)

    by jandrese ( 485 ) <kensama@vt.edu> on Monday June 23, 2014 @06:16PM (#47301009) Homepage Journal
    I don't think we're ever going to get as clear of an example of the second system effect [wikipedia.org] as Perl 6. If you asked me back in 2005 if I thought it was going to take more than a decade for the next Perl version bump, I would have said no way. Now I'm wondering if Larry and company shouldn't just ditch Perl 6 and come out with Perl 7, that is basically just Perl 5 with some tweaks to make complex data structures less of a nightmare and better integrate the object model, plus some tweaks around the edges like the implicit /x switch on regular expressions.
    • by mooingyak ( 720677 ) on Monday June 23, 2014 @06:21PM (#47301047)

      I always thought Perl 6's major problem was a lack of backward compatibility to Perl 5.

    • by Rinikusu ( 28164 ) on Monday June 23, 2014 @06:21PM (#47301055)

      There's a Perl 6? When the fuck did this happen?

    • by K. S. Kyosuke ( 729550 ) on Monday June 23, 2014 @06:26PM (#47301093)

      I don't think we're ever going to get as clear of an example of the second system effect as Perl 6.

      I think R6RS might qualify as well. Damn those sixes...

    • by Anonymous Coward on Monday June 23, 2014 @06:34PM (#47301141)

      I don't think there's a second-system effect going on with Perl 6. Every two or three years some new team has come along and tried to implement it, only to totally fail and produce nothing usable. These people didn't implement Perl 5, so I don't think we can say that Perl 6 is a second attempt for them.

      These Perl 6ers have just continually done stupid shit with half-assed virtual machines and intermediate languages, rather than getting real work done.

      For fuck's sake, just look at the approaches that have always worked in the past:

      - Perl 5 and earlier: An interpreter written in C.

      - Python: An interpreter written in C.

      - Ruby: An interpreter written in C.

      - Lua: An interpreter written in C.

      - Tcl: An interpreter written in C.

      - PHP: An interpreter written in C.

      - UNIX shells: Interpreters written in C.

      The lesson should be crystal-fucking-clear: write an interpreter in C. That's all the Perl 6ers need to do, but for some reason they just won't do it.

      No more Parrot. No more crap written in Haskell. No more stupid intermediate languages. The Perl 6ers just need to cut out the crap, and do things right for a change.

    • by oneiros27 ( 46144 ) on Monday June 23, 2014 @06:49PM (#47301259) Homepage

      So a few years ago, a bunch of people decided that there was no point in waiting for Perl6, and started back porting the features they liked into Perl5.

      And to deal with the whole issue of the Perl6 syntax not being compatible w/ Perl5, they've added 'use feature' where you can tell it which features to enable. (or specify a version number to turn on a whole bunch of things)

      So, you want postfix dereferencing [perltricks.com]? Then use perl 5.20, and enable the feature. (although, I believe it's currently enabled via 'experimental [metacpan.org]', so people know they're enabling a feature that may change)

      • by frank_adrian314159 ( 469671 ) on Monday June 23, 2014 @07:31PM (#47301631) Homepage

        Oh my God! Is PERL really competing for worst language with Brainf*ck? After reading the article on the operator mentioned, I can only assume so. I can't believe with all of the syntax backward-compatibility crap they've bolted on they couldn't just have cleaned up the syntax. Thus, my assumption is the only reasonable explanation. Or maybe brain damage... I hear you get that from PERL.

        • by dgatwood ( 11270 ) on Tuesday June 24, 2014 @10:30AM (#47305915) Homepage Journal

          Oh my God! Is PERL really competing for worst language with Brainf*ck? After reading the article on the operator mentioned, I can only assume so. I can't believe with all of the syntax backward-compatibility crap they've bolted on they couldn't just have cleaned up the syntax. Thus, my assumption is the only reasonable explanation. Or maybe brain damage... I hear you get that from PERL.

          No, it's actually more of a vicious cycle. Bad coders write bad Perl, which leads to brain damage, which results in worse code. If you have an array with five or six indices, unless you're doing some sort of borderline insane physics computation, you're already solidly in WTF territory. Most sane people try to limit their arrays to about two indices. Three is unusual. Beyond that limit, you should almost always be assigning explicit variable names to the components, and not working with them as arrays. And that limit applies to associative arrays and data structure chain references, too. If you're going more than about two or three steps out, there needs to be a named variable in there somewhere so that the code will be maintainable.

    • by megalomaniacs4u ( 199468 ) on Monday June 23, 2014 @07:14PM (#47301449)

      Come on it took ages for perl4 to die... This is normal.

    • by John Bokma ( 834313 ) on Monday June 23, 2014 @07:39PM (#47301721) Homepage

      Those things are happening or planned except for the version number change.

      Tweaks to make complex data structures less of a nightmare: http://search.cpan.org/dist/pe... [cpan.org]

      better integrate the object model: https://github.com/stevan/p5-m... [github.com]

  • by Anonymous Coward on Monday June 23, 2014 @06:20PM (#47301035)

    Maybe Perl isn't completely "dead", but it sure as fuck isn't as vibrant of a scene as it once was.

    In the 1990s, Perl was THE BIG THING . It was cool. It was trend-setting. It was what let average programmers and sys admins become superheroes, and it let good and great programmers and sysadmins become ABSOLUTE GODS .

    Knowing Perl was what got you jobs. Knowing Perl was what let you get the hard work done fast. Knowing Perl was essential. If you didn't know Perl, you were SHIT IN A URINAL .

    Perl's got some fierce competitors now. Python can do everything Perl can do, but with a way cleaner syntax. Ruby isn't as capable as Perl or Python, but it has a religious aspect to it that makes some hipsters go absolutely batshit crazy for it. Perl just can't compete against them.

    Yeah, Perl isn't dead, and there are a lot of people who still use it today. But let's not kid ourselves, it's not the 1990s. It's not the GLORY DAYS OF PERL , when it ruled the roost.

  • by rubycodez ( 864176 ) on Monday June 23, 2014 @06:28PM (#47301107)

    Larry killed Perl, 14 years and counting and still no Perl 6 production release.

    Meanwhile, Perl 5 being phased out of system building / admin tools and web frameworks. Even Perl 5 is dying.

    • by cruff ( 171569 ) on Monday June 23, 2014 @06:31PM (#47301121)

      Meanwhile, Perl 5 being phased out of system building / admin tools and web frameworks. Even Perl 5 is dying.

      Not for me, I write new Perl 5 code all the time. Get some real useful work done with it too.

    • by Sez Zero ( 586611 ) on Monday June 23, 2014 @06:50PM (#47301263) Journal
      Perl 5.20 was just released [perlnews.org] and "represents approximately 12 months of development since Perl 5.18.0 and contains approximately 470,000 lines of changes across 2,900 files from 124 authors."

      That doesn't seem to bad to me, but I'm not sure how that number of core release authors compares to other languages like Python or Ruby.
      • by mbadolato ( 105588 ) on Monday June 23, 2014 @07:06PM (#47301375)

        More telling is how utterly fast Perl is compared to the other languages. I've run most of the sample files from this language shootout [raid6.com.au] and had remarkably similar results to what they list there.

        The Perl version performed on par with the C and C versions, and it's growth/memory usage stayed pretty consistent throughout. The other languages were horrid. They took much longer, and their memory usage grew significantly during the run.

        I use Perl still when doing scripting tasks. I love Perl, always have. I don't, however, necessarily think it's the right choice for building a medium to large web-based application any more. Sure the performance is there, and there are some great frameworks like Catalyst and Dancer, but to me, they still feel a bit antiquated to some of the other technologies I've used. Plus installing tons of CPAN modules can get a little trying at times.

        • by cforciea ( 1926392 ) on Tuesday June 24, 2014 @02:26AM (#47303909)
          From the benchmark you linked:

          String manipulation is the core functionality for all languages so this allows to compare languages fairly.

          If that doesn't clue you in on how utterly full of shit he is, I'm not sure what will. I mean, Java Strings are immutable. This test is just about adding strings together. That's pretty much the worst possible case for trying to benchmark Java. So if you're coding Java and adding a bunch of strings together, you use a StringBuilder and not a String. Only you can go look at the source code, and whoever wrote it didn't. Not only that, but how much memory Java would use during the run would depend pretty much entirely on flags given to the JVM, because it would just keep eating up space copying the immutable String over and over until it was forced to garbage collect. And that's all just a quick inspection of the Java comparison. I am pretty confident without looking that that margin of difference between C and C++ is entirely due to pathological C++ code.

          I mean really, if you think that your interpreted language is comparable to any major compiled language in performance, you're an idiot. Sabotaged test results (whether the result of duplicity or incompetence) don't change that.

    • by johnkzin ( 917611 ) on Monday June 23, 2014 @07:01PM (#47301339)

      Meanwhile, Perl 5 being phased out of system building / admin tools

      Really? what's replacing it? (genuine question ... I haven't seen anything that really fills that niche as effectively nor as completely)

      Perl 5 is still charging full steam ahead in every sysadmin group I've been around. I know there are python advocates out there, but I have only encountered ONE major IT shop that is completely (or nearly so) python driven (and it happens to be Guido's employer -- hardly a good example). Other than that, the most I've seen is _some_ python but _mostly_ perl in any IT shop.

      Sure, language-geeks have been talking about what other language has done a better job of being "a language" for at least 10 years ... but really, anything you can say negatively about perl can be said about bourne shell programming. And, yet, not only did bourne shell dominate *nix sysadmin and package install programming for 25+ years, but it is _still_ being done out there, by some backward luddite sysadmins. Perl has only been dominant in the sysadmin space for less than 15 years ... I wouldn't be surprised if it lasts at least another 10 more. And, really, since it lacks many of bourne shell programming's problems, it'd be reasonable to expect it to keep going for a lot longer than that. Especially as perl 5's evolution continues to slow down and become more stagnant (creating a consistent and stable programming layer ... which has not been true through the entirety of perl 5's lifespan -- there were a few major hiccups there as various sub-systems were refined or changed).

      (to be clear, perl 5 has _existed_ for more than 15 years, but it didn't become really dominant as a sysadmin language of choice, finally eclipsing bourne shell, until the very late 1990's or early 2000's ... probably about the time that y2k issues wiped out anything too old to have/support perl, and the last of many *nix vendors and most linux distro's being sure they included perl in their boilerplate installation, pretty much removing bourne shell's one major claim to fame (ubiquity).)

      • by rubycodez ( 864176 ) on Monday June 23, 2014 @07:06PM (#47301379)

        seeing a lot of system tools built in python now

        • by johnkzin ( 917611 ) on Monday June 23, 2014 @07:18PM (#47301491)

          Like I said, I haven't seen python take over anywhere other than Google. That's a big claim to fame, surely. But, it's not as wide spread as it could or should be, at this point in python's life, IMO. It just doesn't have the momentum nor clear advantage (to non-language-geeks) over perl to push it forward fast enough to overtake perl.

          I do like python, mind you. I just think it's stuck in the betamax / BSD niche (academically superior to its cousins, but stuck in second place for reasons that have nothing to do with its academic superiority ... because academic superiority doesn't win any races outside of academia).

      • by discord5 ( 798235 ) on Tuesday June 24, 2014 @05:07AM (#47304351)

        I moderated in this article, but this is something that I'd like to talk about for a bit, even if only anecdotal...

        Perl 5 is still charging full steam ahead in every sysadmin group I've been around. I know there are python advocates out there, but I have only encountered ONE major IT shop that is completely (or nearly so) python driven (and it happens to be Guido's employer -- hardly a good example)

        Over the past 8 years my own usage of Perl in writing code has declined to zero. There has been a mentality change over the years in the shop I work in, and where we used to grab for Perl by default as a quick'n'dirty duct-tape & MacGuyver language, we now exclusively rely on Python. I think there are several reasons for this shift.

        The most prominent one to me personally is that other languages have adopted CPAN-like repositories. I don't know about the statistics of numbers of modules, active development, number of commits, etc etc, and put bluntly I really don't care. Although these statistics are interesting into disseminating how active a language is to its developers, to me as a user of the language it only matters if a module is maintained and does what its supposed to do. The thing is, for most of the things I used to use Perl modules for, I now use Python modules, and can say "Well, it's good enough".

        Our development teams composition has also changed. A lot of our older generation of programmers/admins have retired or switched jobs, and a lot of younger people were hired to replace them. The younger generation is definitely more familiar with Python, Ruby and other scripting languages than it is with Perl. The incentive for learning Perl has become a lot smaller. Perl was the de facto language for many when writing a CGI script, but then RoR and AJAX happened. While over time Perl adapted (think Catalyst and Dancer) other languages have adapted as well. Look at all the wsgi applications and frameworks in Python.

        Our investment in Perl itself was more of the kind where we used a set of scripts to change data from format A to B at which point our Java and/or C++ code takes over, or some tools to deal with our logs, etc. The switch to Python for these tools was gradual (but quick) process, and we found ourselves not looking back. I can't really say that we were/are heavily invested in Perl or Python, but for day to day usage Python has completely taken over. Who knows where we end up in another 8 years from now?

        Lastly, if you were to go around our shop, asking people what's new about Python 3 you'll get pretty much right answers. If you go around our shop asking people what's happening with Perl 6, you will get a blank stare. I remember clearly how Perl 6 was going to become the best thing since butter on toast, ... There was general excitement about it all, and then there was a whole load of ... well... nothing. We're 11-12 years further and there's still no sign of Perl 6. What the hell happened there?

        Perl has only been dominant in the sysadmin space for less than 15 years ... I wouldn't be surprised if it lasts at least another 10 more.

        I don't doubt that Perl will be around for a whole lot longer. It has assembled a group of dedicated die-hard users and developers over the years, and in general it has a great community. There are older, more horrible languages that are still alive today, so I doubt Perl will be gone anytime soon.

        However, while my entire post is anecdotal, I do think the Perl community is deluding itself a bit. The talk in the video (I actually listened to it in the background while working on something) mentions a lot of statistics that are interesting to the Perl developers and maintainers, but are hardly and indicator of usage or adoption. The more interesting part of the statistical talk was about the general decline of jobs available for scripting languages in favor of newer technologies, but even those statistics in general don't speak much about usage and adoption.

        FWIW, may Perl be around a long long time. Having more tools at your disposal is never a bad thing.

        • by johnkzin ( 917611 ) on Tuesday June 24, 2014 @08:26AM (#47304973)

          I remember clearly how Perl 6 was going to become the best thing since butter on toast, ... There was general excitement about it all, and then there was a whole load of ... well... nothing. We're 11-12 years further and there's still no sign of Perl 6. What the hell happened there?

          Don't get me wrong about this particular thing... all of my commentary is about Perl 5. I think Perl 6 is dead on the vine. I think Perl 5 will probably be the final definition of the language. It will get refined, and bug fixed, but I don't think it will get the type of complete change that Perl 6 implies (not the current concept of perl 6, nor any concept of similar scope that might replace the current perl 6 concept). Nor do I think that that's a bad thing (for Perl 5 to be final definition of the language).

          I'm also not saying Perl 5 is perfect. I just think it's "good enough"* for what it does, and for use in sysadmin type development (which is not just for quick and dirty duct-tape programming ... I've written pretty extensive projects in Perl), with a momentum that will carry it forward for more than a little while.

          (* nor do I consider "good enough" to be a snobbish backhanded compliment ... I mean it more in the light of "the perfect is the enemy of the good-enough" -- "good enough" gets things done, "perfect" gets defined and redefined on a white-board for an eternity and never accomplishes anything other than a bunch of bloviating) (nor am I implying that that negative version of "perfect" applies to _any_ of the other languages being discussed ... I'm just saying, "good enough" is a good thing when applied to perl 5.)

    • by viperidaenz ( 2515578 ) on Monday June 23, 2014 @07:58PM (#47301891)

      Maybe Larry is dead? For all we know he's just some chat bot trying to pass a turning test.

  • "Undead"? Exactly. (Score:2, Insightful)

    by v3xt0r ( 799856 ) on Monday June 23, 2014 @06:46PM (#47301227)

    Most of the scripts/programs that I still use that are written in perl, truly are 'zombie processes', waiting to be put out of their misery.

  • by amoeba47 ( 882560 ) on Monday June 23, 2014 @06:53PM (#47301285)

    ...squarely blamed Slashdot for starting the "Perl is Dead" meme in 2005...

    Meanwhile, it's apparent that slashdot itself uses Perl e.g: http://slashdot.org/job_board.... [slashdot.org]

  • by Dega704 ( 1454673 ) on Monday June 23, 2014 @07:14PM (#47301453)
    Especially considering that the Linux job market is red-hot, and almost all Linux sysadmin job listings I see list Perl as a wanted skill. What exactly causes a language to be declared dead, anyway? Would you say that Fortran or Cobol are dead? Because they are still going strong in their respective niches.
  • by bobbied ( 2522392 ) on Monday June 23, 2014 @07:17PM (#47301477)

    Perl may not be "dead", but it's dead to me.

    Does Deprecated mean ANYTHING? I used to write Perl programs, some 20 years ago, it was the thing. I wrote thousands of lines of KSH scripts too at that job. Perl it got replaced by a different tool, not that the new tool is better, but because it was new, just like KSH, CSH and BASH are no longer the tools of choice.

    As you young whipper snappers exit my lawn, I offer you the following tidbit of knowledge : "Learn from what happened to Perl, and learn as many tools as you can. Where it's not the tools that make the programer good or bad, having the right tool in your toolbox can make a good programer a great one. Be the great one."

  • by Major Blud ( 789630 ) on Monday June 23, 2014 @07:35PM (#47301669) Homepage

    But did Netcraft confirm it?

    Personally I prefer "half-dead" or "quasi-dead". Does that make me a pessimist?

  • by wiredlogic ( 135348 ) on Monday June 23, 2014 @07:39PM (#47301715)

    Betting the farm on Parrot and then waiting *years* to start implementing the Perl 6 spec is what killed it. Besides, around these parts we wait for Netcraft to confirm. We haven't succeeded in killing off the *BSDs yet have we?

  • Meh (Score:5, Insightful)

    by Greyfox ( 87712 ) on Monday June 23, 2014 @07:42PM (#47301735) Homepage Journal
    Tool for the job and all that. If I had to maintain some code, I'd prefer perl with "use strict" over any of the newer OO languages. At least when you're looking at bad code, you can usually salvage something from structural code. I've seen some atrocious Ruby programs lately.

    Most of the time you're maintaining code you're maintaining bad code, though, and it's pretty rare that I run across a perl program with "use strict" turned on. But if I don't see it, I at least know what I'm up against. The newer languages need a similar "A bad programmer wrote this" flags.

  • by BenSchuarmer ( 922752 ) on Monday June 23, 2014 @07:44PM (#47301749)
    so I'm not surprised
  • by mark-t ( 151149 ) <markt AT nerdflat DOT com> on Monday June 23, 2014 @07:56PM (#47301871) Journal
    Do the definitions of the terms involved stipulate that anything that was genuinely dead in the past, but is, in some way, no longer considered as dead anymore necessarily be considered undead?
  • by rduke15 ( 721841 ) <rduke15@gm[ ].com ['ail' in gap]> on Monday June 23, 2014 @08:36PM (#47302157)

    Is it dead? Well, some quick scripting can tell us the truth, using Bash and of course Perl.

    On my Ubuntu notebook and main machine:

    sudo find /etc /bin /sbin /usr/bin /usr/sbin -type f -executable -exec file -b "{}" \; \
    | perl -MData::Dumper -nle '
            next unless /script/;
            if ( /(shell|python|ruby|perl|bash)/i ) {
                $types{$1}++
            }
            else {
                warn "Other: $_\n"
            };
            END {
                print Dumper(\%types);
            }'

    Output:

    Other: a /usr/bin/make -f script, ASCII text executable
    Other: a nickle script, UTF-8 Unicode text executable
    Other: awk script, ASCII text executable
    $VAR1 = {
                        'perl' => 283,
                        'python' => 104,
                        'bash' => 1,
                        'Ruby' => 3,
                        'ruby' => 9,
                        'shell' => 602
                    };

    On a server:

    Other: a /bin/dash script, ASCII text executable
    $VAR1 = {
                        'Python' => 36,
                        'Perl' => 139,
                        'shell' => 267
                    };

    Looks very much alive. Unless of course, Perl realized what it was calculating and cheated and made it's own numbers up on the fly...

  • by stenvar ( 2789879 ) on Monday June 23, 2014 @08:44PM (#47302217)

    If Perl really isn't dead yet, could we please put it out of its misery and shoot it? Then drive a stake through its heart, burn it, encase the ash in cement, and then bury it in a silver urn, just to make sure that it will never, ever come back?

  • by nut ( 19435 ) on Monday June 23, 2014 @09:02PM (#47302333)

    ... it's just the way people use it.

    Perl was designed as a powerful, flexible, loosely typed scripting language for munging text files and streams, and that's exactly what it is.

    It's great for those scripts that you write for a particular task and never use again after the few days it was necessary. It's also good for writing glue code on occasion, to tie the inputs and outputs of other applications together, and when shell scripting just won't quite cut it.

    The trouble was that it was such a useful scripting language people started writing applications in it. Then they had to jump on the object-oriented bandwagon, which was done clumsily. Sort of like gluing a dog to your horse so it can fetch. And yes, it can be difficult to read, but it doesn't have to be.

    Use Perl for the tasks it was originally designed for. If you're going to write real applications, use a more appropriate language. Don't kick your dog because he can't sing.

    • by rsborg ( 111459 ) on Tuesday June 24, 2014 @01:59AM (#47303829) Homepage

      ... it's just the way people use it.

      Perl was designed as a powerful, flexible, loosely typed scripting language for munging text files and streams, and that's exactly what it is.

      Perhaps it's not Perl that died, but the philosophy of Perl - the need for a *wicked fast* scripting language to code up 1-100 lines of code gluing together entire systems. The philosophy of which is power, speed, massive flexibility (very very loosely typed language, you could demo complex data structure creation on the fly using the REPL) which empowered the lone programmer, not the IT department or enterprise software firm.

      The diminishing of Perl is indicative of the wild wild web being tamed, and the Internet corporatized. A sad thing, but definitely predictable. I still use Perl once in a while (I'd say once or twice a year for a new compact script), but I never really share those scripts.

  • All traction was lost when Perl 6 became some amorphous goal, and nobody gives a damn any more. Personally, I think this is a shame -- but I've found Python and Ruby to be more-than-acceptable replacements. (Honestly, I think Ruby is the cat's pajamas, aside from regex speed on 100+ MB logfiles.)

    So... does Perl wish to make a comeback? It really would be fairly easy:
    1) Have Larry Wall take the reins well-and-truly again.
    2) Give a timeframe for a for-real reference release of Perl 6. Not this sort of wish-wash "everything that says it's Perl 6 *is* Perl 6" thing. Choose *one* of the projects, and have it be the reference against which all others are measured.
    3) Give direction and make it public. While associated clearly with #1, merely taking the reins won't do the job -- it has to be clear that Perl is *GOING* somewhere, and not just stagnating. And this has to be made known.

    There are plenty of sysadmins who learned Perl when it was 5.x, and who have fond memories of it. Give them something more than memories to work with, and you may well go somewhere. As it is? I just couldn't be bothered to care. Gimme Ruby.

  • by porky_pig_jr ( 129948 ) on Monday June 23, 2014 @09:19PM (#47302435)

    Just my personal experiences. Back in 90s I was working for BBN Planet, in a group monitoring network traffic within AS1 (which is *us*). I have inherited a set of tools written in Perl which I had to maintain. Prior to that I had some moderate experience with Perl. So, when I started going through the code, I've found it sufficiently obfuscated to give me a head ache. I guess my predecessor was one of those "Perl kids who like to have fun", not understanding that production environment means, among other things, readability and maintainability. OK, fine. Roughly at the same time the administrator of multiple machines running that code (I think it was Solaris) decided to move from Perl 4 to Perl 5. That broke lots of scripts. So I decided to save time, found out what the functional specs were (from those who actually used those tools) and rewrote lots of the code just from the scratch. Because I was under some serious time pressure, I didn't care too much about either readability and maintainability either. Just to get something out of the doors, and - let my successor suffer just as I did.

    Well, BBN Planet, as we all know, is a history, but Perl, unfortunately, isn't. At least it is steadily loosing ground to Python and for reason. Cheers.

    • by epine ( 68316 ) on Tuesday June 24, 2014 @12:10AM (#47303355)

      At least it is steadily loosing ground to Python and for reason.

      None of those dynamics have ever occurred in a Python shop?

      The second half of the nineties was a bad scene for code readability all around, or did you somehow not notice the Herman Miller office furniture bubble?

      There was a lot of Perl written during this era. Perl was the only language that could keep up with the Vogon rapture of all things brick and mortar. The ferryman threw in the towel, auction off his ferry on eBay, bought two cords of dynamite (mail order), and simply diverted the river. Pretty much everything was still where it had been, but traditional commerce was all on the other side now.

      My development platform circa 1996 was NT 4, on a P6 200 with 32 MB of EDO system memory, a 640 MB disk drive, and a good quality 17" Dell CRT. It was tolerable, but hardly coding nirvana. The world was shifting under my feet almost daily: Linux, BSD, 2000, LBA, AMD64, SATA, DDR, broadband, Mozilla, Google, DVI, PHP, Python, Ruby, C++, STL, and not an open source version control system worth a crock of shit for love nor money.

      I wonder why my coding standards at the time did not optimally favour my future self in the mid 2000s with my CoreDuo workstation, 4 GB of ram, 200 GB of disk space, and twin 19" monitors.

      Do recall the little puzzle with the sliding digits 1-15 in a 4x4 grid? Trying to get any significant piece of glue code to run on NT and Linux and able to survive unscathed a major upgrade of each was a lot like that. Or have you blacked it out? Many ugly lines of code were written because the tiles were sticky. In the stupidest possible ways. And it was all going to be Ruby next year anyway. Whatever language you were working in was next up against the wall after the demise of B&M (if any wall could still be found). Soon the Wall was up against the wall, but I digress.

      Programmers were in such short supply that vast numbers of people were coding in languages they only pretended to know. Have you forgotten that, too? If Visual Basic had been a better scripting language, Perl would have come out the other side better loved.

      The great thing for the smart young programmers about becoming trendoids is that it helps to insulate them from the ugly job of cleaning up yesterday's bubble's giant mess.

  • What is "Dead" (Score:4, Interesting)

    by bradgoodman ( 964302 ) on Monday June 23, 2014 @10:40PM (#47302935) Homepage
    Sure - it's way down on the TIOBE index, and Perl 6 has been in production longer than Duke Nukem Forever, and there is a ton of "legacy" code that is written in Perl, so why do we say it's "dead"?

    Because of the lack of new projects being done with it. I can't remember the last time a [major] web site or web framework was done in Perl. It seems like the whole "ruby on rails" fad is over, but even things like Django (Python), .NET, Java, PHP, and even stuff like "Go" have stolen Perl's Thunder on the Web front.

    Well what about as your standard workhorse for script kiddies? Seems like Python has cleaned Perl's clock. For me - I've been a die-hard Perl guy for 10 years. The past couple years, I've worked with many different technologies such as 2d/3d CAD projects, Blender (3d adnimation), Inkscape (2d illustration), GNU Radio, OpenStack (cloud), and even Amazon AWS [libraries]. You know what was the striking commonality to all of these? They were done in Python.

    Tiny exception was in the last case (above - Amazon AWS libraries) had several different language options but had *NO* Perl options whatsoever. So the language that was once so revolutionary because of the abundance of CPAN libraries available for it starts to not have newer libraries built/ported to it. Furthermore, binding stuff to Perl can be difficult. So much so that most modern distros will make their own "Perl library" [RPMs] - and one of the reasons being is that a standard CPAN module installation won't work due to problems linking/binding/building across all these different environments with very different prerequisites. Most third party Python stuff I have acquired is most often "native python", and works across all types of exotic platforms - even on iOS and Google App Engine.

    As for me - I had to switch away from my beloved Perl over to Python for the aforementioned reasons. There are still several things I miss very much - the abilities to so easily spawn and fork "helper" processes, the ease it which it integrates regular expressions, how it can manipulate files, etc. All these things *can* be done with Python, they're just integrated into Perl much better IMHO.

    It seems like Perl 6 was supposed to use something similar to Java's "JVM" microcode interpreter. This could have been a possibility to run Perl in embedded sandbox-type environments (like parking meters and smartphones), but it never happened.

    So, I do believe Perl is dead. I miss it for what it was, what it is, and what might have been!

UNIX is hot. It's more than hot. It's steaming. It's quicksilver lightning with a laserbeam kicker. -- Michael Jay Tucker

Working...