Slashdot Mirror


Perl and Postmodernism

An anonymous reader sent us a link to Perl and Postmodernism which is Larry Walls speech at LWCE (which I missed despite the fact that it was the only speech that I really wanted to see). If you enjoy Wall's stuff, you'll dig it. If you don't, you won't. I'm in the former group personally.

69 comments

  1. Perl is nit free ! by Anonymous Coward · · Score: 0

    It's distributed with semi-free "artistic" license, which only distorts the spirit of free software !
    We must write new, GPL'ed perl !

  2. No Subject Given by Anonymous Coward · · Score: 0

    Quite a lot few of his assertions are plain wrong. Take this one for example:

    Many modern computer languages aspire to be minimalistic. They either succeed in being minimalistic, in
    which case they're relatively useless, or they don't succeed in being truly minimalistic, in which case you
    can actually solve real problems with them.


    He obviously didn't do his homework. I suspect that Mr. Wall doesn't know much about modern programming languages. (C, sh, csh, grep, sed, awk, Fortran, COBOL, PL/I, BASIC-PLUS, SNOBOL, Lisp, Ada, C++ don't classify as modern programming languages.)

  3. Perl is nit free ! by Anonymous Coward · · Score: 0

    What the fuck are you talking about, troll-boy? The
    Artistic License meets all criteria of the open source
    definition. I'd advise turning your brain on before
    you sit down at your box next time.

  4. Mess by Anonymous Coward · · Score: 0

    The problem with adding every feature that he thinks is cool is that you end up with a mess... in this case named Perl. Natural languages tend to me messes too, especially English.

  5. Perl is nit free ! by Anonymous Coward · · Score: 0

    I believe you are misinformed.

    From /usr/local/perl5.005_02/README:

    Perl Kit, Version 5.0

    Copyright 1989-1997, Larry Wall
    All rights reserved.

    This program is free software; you can redistribute it and/or modify
    it under the terms of either:

    a) the GNU General Public License as published by the Free
    Software Foundation; either version 1, or (at your option) any
    later version, or

    b) the "Artistic License" which comes with this Kit.

    --
    Paul
    paul@ebb.org

  6. No Subject Given by Anonymous Coward · · Score: 0

    So what does qualify? Java??? Gack.

  7. Minimalism by Anonymous Coward · · Score: 0

    Mr. Wall misunderstands the beauty of minimalism in languages.

    The focus with many academic languages has been to develop a highly consistent and expressive core language. Everything everything else (i.e. the libraries) can efficiently be built on top using the core functionality.

    Perl is the extreme opposite of this idea. In Perl, *everything else* is the language. Unfortunately, when you try to solve more complicated problems, or try to apply this kind of model to realms that it wasn't designed for, the language really breaks down.

  8. Why use something you hate? by Anonymous Coward · · Score: 0

    Why use a language that you hate? I am curious. Doesn't Python have a regular expression library? Or is it too burdensome to use?

    Gwydion Dylan has a nice Perl-compatible regexp library. Also in Dylan, methods can return more than one value.

  9. Mess by Anonymous Coward · · Score: 0

    Messes get the work done though.

    Sure they can get the work done... but not efficiently. That is the point.

    Perl is convenient for processing text and doing scripting type stuff, but let's not get carried away and try to apply it to every domain under the Sun.

    Messy languages tend to be ambiguous. Take the English sentence "I am going to the store." Does that mean that you are travelling to the store as you speak, or that you will embark on a journey to the store in the future? It is unclear. A person is usually able to ascertain the meaning of the statement from its context. Computers don't do this very well.

  10. Gack by Anonymous Coward · · Score: 0

    No, I don't think Java qualifies. Though Java was designed recently, its
    designer seems to have ignored the relevant research in the field of
    programming language design. It seems he has unleashed a hack upon the world.

    Cecil, Dylan, Self, Eiffel, SML, and other languages along those lines were more what I was thinking of.

  11. pomo code must go! by Anonymous Coward · · Score: 0

    language-level essence aside, surely one of the greatest problems with programming is an overabundance of postmodernity. that is to say, an observed trend in some circles is to spooge together potentially discordant pieces of internally consistent (or not) code into a gestalt which is far from consistent. while this whole may function on the surface (with the occaisional crash), it's source code is sorely lacking of the meta-narritives so gleefully abandonned by the pomo.

    "postmodern code" sounds like a euphemism for "potentially buggy" code.

    (this is not to say that the modern monolithic approach is wonderful either (e.g. flexibility &c.), merely that one should be wary of embracing pro-chaos coding philosophies.)

  12. Is God postmodern? by Anonymous Coward · · Score: 0

    Personally I don't think that chosing to either go to god or to god to the devil is much of a choice.

  13. Perl = write-only language by Anonymous Coward · · Score: 0

    I used to be a big fan of Perl, until about a year ago, when I started having to maintain other people's Perl programs. I imagine the previous poster is in my boat too.

    Perl is like C++. "There's more than one way to do it," yes that's true, which is why you never know what you're going to get when you hire a Perl programmer or when you agree to maintain someone else's Perl program.

  14. Perl = write-only language by Anonymous Coward · · Score: 0

    I've had to debug (and revise) really horrid C programs before. C programs that didn't have *any* documentation, that had inline constants instead of #define's, that relied heavily on goto's. No problem.

    Comments and other documentation are misleading; debug only code. The problem with Perl is that the code is often misleading.

  15. Java++ is inescapable... by Anonymous Coward · · Score: 0

    Nope, nothing new here.. but Java is still a useful "brass bullet" programming language. I was wondering how long people would keep banging out C code.

    Richard Gabriel's "Patterns of Software" has a (depressing) editorial about "The Last Language". Basically, he reluctantly admits that C is the "last" programming language. Programmers have so much time/knowledge invested in C, that we'll never shake it. In 2010, we'll all be using Java++.

    C --> C++ --> Java --> Java++ --> ???


    cpeterso

  16. Larry Wall is an idiot. by Anonymous Coward · · Score: 0

    'nuff said.

  17. You're going to HELL! by Anonymous Coward · · Score: 0


    Adding 'God' into the equation only succeeding in further pushing the obvious point that larry had absolutely NOTHING to say in that fucking paper. Larry, I wasted 20 minutes reading that piece of trash. Tell your 'God' to credit 20 minutes to my life, plus interest.

    ...

    Larry, you're a great programmer, but your speeches are horrible. Rambling on and on and promising to get to a point, then, an hour later, finishing your rambling, and NEVER reaching any point that couldn't be summed up in a short paragraph isn't very nice. Life is short. Be concise.

  18. In over his head by Anonymous Coward · · Score: 0
    I'm sorry to conclude that the way Mr. Wall uses the terms modernism, postmodernism and deconstruction in this speech just don't make any sense whatsoever. As a result, the speech is basically a worthless hodgepodge.

    (So that we're all clear, the term modernism is generally understood to mean a cultural movement which began roughly around World War I, and which is associated with the rise to prominence of Picasso and Rodin in visual art; Joyce, Eliot, Woolf in English literature; Nietzsche and some others in philosophy, etc., etc. Ask your local humanities professor if you're confused. I'm not going to prolong the agony by offering similar definitions of postmodernism and deconstruction. Suffice it to say that these terms also have generally understood meanings among literary critics and philosophers.)

    At some points in his speech, I think Mr. Wall has modernism confused with some version of Enlightenment rationalism (". . . a Modernist has to decide whether this is true OR that is true"). Other comments make no sense whatsoever: In particular, his reference to the "the monoculturism of Modernism, or rather the assumption of monoculturalism," doesn't parse. What about Picasso's African-influenced art or Ezra Pound's translations of Chinese poetry strike you as assuming "monoculturalism"? "Modernism, as a form of Classicalism, was always striving for simplicity, and was therefore essentially reductionistic"? What about Joyce's Finnegan's Wake strikes you as reductionistic? I could go on and on like this; suffice it to say that he makes statements about these subjects that no college freshman would get away with.

    One could say that Mr. Wall must be referring to something else when he says "modernism," etc., but that's a cheat. As noted, the terms modernism and postmodernism have well accepted meanings. If the literary critic Jacques Derrida waltzed in to /. and said "RISC chips encourage spaghetti code," and later explained that by "RISC chips" he meant "Basic and Fortran," no one would buy that for a second. If you mean something else than the commonly accepted meaning of a term, you should use a more appropriate term, or define your own if you must. Those are (what most people take to be) the rules of discussion.

    Having read a fair number of Mr. Wall's speeches by now, I am reluctantly forced to the conclusion that he is getting a free ride where they are concerned. Perl is a great tool; Mr. Wall is a good guy and a great programmer -- and, judging by his commentary on Usenet, a pretty witty writer at times. His speeches, however, seem to be pretty thin on content. This speech, for the amount of misinformation it contains about critical and philosophical issues that serious people have spent serious time thinking and writing about, almost could be said to have a negative amount of content.

    1. re: In over his head by Anonymous Coward · · Score: 0

      High Modernism, Post-modernism - it's all just Late Romanticism in disguise.

      M Knepher
      josefk@wenet.net

  19. In over his head by Anonymous Coward · · Score: 0

    Thank you for your brain poop, I forgotten
    how to think for myself.

  20. Small mess=OK Big mess=VERY bad by Anonymous Coward · · Score: 0

    Your assumptions are only valid if the end products are small and stand alone bits. It's not a good way to go for more complex things that need maintainence.

    In defense of Perl, the reason so much bad Perl code gets written is because it's cool enough to make the impossible possible.

    When Mr.PHB says he needs that incredibly complex Web+databae application done in a month, damnit, Mr.Progammer decides it'd be better for his career to pull it out of his ass in Perl than to stand his ground and say, "It can't be done (well) in that timeframe," and devote some time to planning an extensible and maintainable architecture. (Which he might very well still code in Perl.)

    Writing a badly (or non) architected system in Perl gets you 'end product' half as fast as it should take, but an end product that takes twice as long (or is in some cases impossible) to maintain and extend.

    If you think it's expensive and takes a long time to train programmers to write right, think how much time and what an expert it takes to work on a 10,000+ line mess written by an amateur with no coherent plan.

  21. Perl is nit free ! by Anonymous Coward · · Score: 0

    Does this mean it doesn't have any head louse eggs? That's a _good_ thing, I'd say. :)

  22. Mistaken on philosophy by Anonymous Coward · · Score: 0
    The fact that we can even consider discussing whether Nietzsche and Heidegger(*) are modernists or not -- and /. is certainly not the place to have it -- points to the fact that the terms "modernism", etc., have meanings. Those meanings, though admittedly somewhat imprecise, are not at all consistent with the way Larry Wall uses the terms in his speech. If you want to defend his formulation of modernism, etc., go ahead, but I don't think you can in a way that's consistent with the way those terms are generally understood.

    (*) Just for the record, you brought up Heidegger, not me. It's OK with me if you want to call him a postie. As for Nietzsche, I promised above I wouldn't discuss it, and I won't.

  23. ./ Morons strike again by Anonymous Coward · · Score: 0

    I suspect that Mr. Wall doesn't know much about modern programming languages.

    When I read things like this I am embarassed to be a regular /. user.

    Our poster has made a completely witless assertion with absolutely nothing to back it up.

  24. Perl and the "90% solution" by Anonymous Coward · · Score: 0

    Perl's design doesn't presume that one language can solve 100% of the problems out there very well. Perl solves 90% of them very well. For the other 10%, I'll gladly go to another language.

    Purity of design is for the birds. I want to get things done. And who is to say that completely orthogonal languages are useful anyway? Syntactic beauty and orthogonal semantics have not translated over into usefulness, or we'd all be using Scheme, ML, or Haskell by now.

    Just bite the bullet and admit that the ugliest language in the world is also the most useful, for most of the problems you are going to come across (if you are programming for the web).

  25. Gack by Anonymous Coward · · Score: 0

    Cecil, Dylan, Self, Eiffel, SML

    I hope you're not looking for a job anytime soon - none of these languages has any widespread adoption in industry.

    Dylan is cute, but stillborn.

    Eiffel has been drowned out by Java.

    The others are too irrelevant to even mention.

    Why not just wite a VDM compiler and be done with it? Then you can write programs in the most baroque syntax available.

  26. You're going to HELL! by Anonymous Coward · · Score: 0

    It took you 20 minutes to figure out you were wasting your time?

    If you don't like what Larry has to say in a written format or in his speeches .. why did you bother? Sounds like your pretty good at wasting your time all by your lonesome.

  27. Deconstructing Larry's Speech (and perl, too)! by Anonymous Coward · · Score: 0

    Interesting post.

    "Despite Larry's attempts to label it as part of the modernist movement, absolute cultural relativism isn't: it's a natural (and logical) continuation of the post-modernist movement."

    Let's take a modernist literary approach and examine the phrase 'absolute cultural relativism'. Firstly, 'absolute' implies one idea, a reductionist/narrow approach, or in other words,a modern approach. Secondly 'relativism' is a typical modernist label, a banner, if you like for a single (and pretty extreme) idea. Modernism takes things to extremes, that is how it operates. Think of 'absolute cultural relativism' as a modernist response to postmodernism. (By the way 'natural and logical continuation' sounds very modernist to me.)

    The problem of post-modern behavior in this society is a biggie. The current society is built on modernist principles, Church, State, Family, Taxes, Law etc. Laws, or rules, are critical to any organisation. The postmodern approach seems be to reach a consensus and enforce it socially or by sheer human momentum. Societal transitions are generally difficult but rewarding.

    You are maybe right to be upset with the large amount of garbage Perl that seems to be everywhere. But if it weren't there would you be be better off? If someone writes crud, they generally know it, but don't care 'cos they are more interested in results. Attempting to enforce structure is futile because there are so many options.

    This is the postmodern information nightmare: soundbites and sifting through junkpiles. It stems from better communication between people. As we become better able to process information, the amount of potentially useful stuff to us expands. Let's hope our modernist governments don't legislate it away.

    The future is processing.

    I never read any of Larry's stuff before. It has very deep implication and linkage, in my opinion. These ideas are humanity's future and a great source of hope.


    Also Slashdot gets my vote for pre-eminent postmodern community 1999.

  28. Perl and the "90% solution" by Anonymous Coward · · Score: 0

    "Golly, that makes it a majority, doesn't it? Majority rules! Let's all use Windows. "

    or:
    One problem, one solution, one language
    or:
    There's more than one way to do it. ;o)

    Considering these responses further I honestly can't work out whether they are pro- or anti- Perl. Oh well. At the heart of any Fascism is a strongly held opinion.

  29. Deconstruct this! by Anonymous Coward · · Score: 0

    Postmodernism has the unfortunate habit of separating Beauty from Truth.

  30. What's philosophical "modernism" then? by Anonymous Coward · · Score: 0
    (The original poster returns.)

    Putting to one side the question of who's pomo and who's not, I don't know why you would label everyone from the enlightenment forward "modern." I've never heard the term used that way in the context of the history of philosophy. Bacon, Hume and their ilk have no obvious connection to the cultural movement we associate with Joyce, Picasso, tonal music, etc. If you want to throw in Nietzsche and even Schopenhauer with the pomos, it's fine with me, but you still have a short stack of indisputably "modern" philosophers (say, Kierkegaard, Peirce, James, Santayana, Sartre, Camus, Ortega y Gasset, Maritain, etc., etc.) whose philosophical work is nothing like the rationalist, monoculturalist stuff to which Wall refers.

    Getting down to brass tacks, what I'm looking for here, and what I honestly don't expect to find, is some connection between his speech and the real people and work to which the terms "modern", "postmodern", etc., refer. I suppose Wall understands a little bit about postmodernism in terms of architecture and visual art -- those parts of the speech I was able to follow a bit. Most of it, however, made absolutely no sense to me. If you can explain it, I'd be happy to listen.

  31. What's philosophical "modernism" then? by Anonymous Coward · · Score: 0

    In the classes I have taken, Hume, Berkeley, Spinoza, and Kant have all been refered to as "Early Modern" philosophers. It's probably confusing and bad classification to call them modern, but then you don't want to call them ancient either...

  32. Making my head hurt by Anonymous Coward · · Score: 0

    Oh man, this stuff is giving me a headache.

    On the other hand, Larry is entertaining.

    All I can do is recommend books and equivocate, as any good postmodernist would do. Try Margo Norris's "Joyce's Web" for starters. That examines the true link between Joyce and postmodernism. Suffice to say he is not a complete modernist. You cannot classify the most of individuals you mention as "either" modernist or pomo, they each have aspects of both approaches. (What a postmodern comment that is :).

    This stuff has been done to death in literature. We should maybe forget about it at /., and let other people anal-yse what we create.

  33. threads like this by Anonymous Coward · · Score: 0

    Or we might as well say that Bill Gates doesn't know anything about programming.

  34. Bah, you're ALL wrong! :o) by Anonymous Coward · · Score: 0

    Nietzsche was a late Romantic. And regarding National Socialism, that movement was the last gasp of German Romanticism exercising itself in opposition to "decadent" Modernism. Compare the architectural styles and philosophies of Albert Speer and his pals (Romantic) with the Bauhaus movement (Modernist).

  35. Beauty != Truth by Anonymous Coward · · Score: 0

    Never rely on poets for your worldview. Even if they are the unacknowledged legislators of the world.

    M Knepher
    josefk@wenet.net

  36. No Subject Given by Anonymous Coward · · Score: 0

    Larry Wall seems to have picked this up this postmodernism thing as a way to excuse Perl. (Which he swears he isn't trying to do.) He understands Postmodernism like this: define some convenient strawman as "Modernism", then loudly criticise it's over-refined and over-simplistic nature in an attempt to distract people from looking too hard at your own rickety rat's nest
    of ideas. Complicated and incoherent must "rule"
    because over-refined and over-simplistic "suck". And it always helps to denigrate the techniques others might want to judge your work by as you do
    it. Logic and objective standards in particular. I think he might be right about Postmodernism. Though most Postmodernists aren't as artless as Larry Wall in the way they describe it to the world.

    I can pick dozens of holes in that shit about Perl being a "good butler" (error checking is "pompous" MY ARSE!) but what's the point?

    The Modernist method of argument is to present rational arguments for your case in an attempt to convince your opposition you are right. (I'm not
    saying it works, I'm saying that's what it is.)

    The Postmodernist method of argument is to be such a pompous blowhard that rational people will throw up their hands in despair and let you go your own way. You can't say pomo's are wrong becasue you just can't work out what the they are talking about.

    Perl is the nucleus of something good. A VHLL scripting language with a big user base is good, "glue" programming is good, CPAN is good. But Perl
    itself is fucked. I think he and O'Reilly Books are on the consultant and Dummy Book gravy train from promoting the use of a ludicrously arcane macho Unixhead scripting language to poor Web designers who just don't need that kind of shit, they've got more important things to worry about.

    In summary: Postmodernism is about making excuses for shoddy thinking. Perl is a piece of shoddy thinking. Larry Wall is a bozo.

  37. Different Modern by gavinhall · · Score: 1

    Posted by Just Another Perl Hacker from:

    I believe Larry explained at the beginning that
    he was talking about Modern in the sense of a
    "Cultural Period"... not from the perspective of
    something being "new".

    From that viewpoint, all of those languages are
    "modern".

  38. Mess by ninjaz · · Score: 1
    The problem with adding every feature that he thinks is cool is that you end up with a mess... in this case named Perl. Natural languages tend to me messes too, especially English.

    Perl comes with around 200 or so built-in functions. Compare that with Java's object heirarchy if you want to discuss bloat. On the other hand, perl is modular and extensible - take a look at CPAN, for instance. Just about any given task having to do with databasing, networking or text parsing can be easily coded up in a matter of minutes if you're perl-savvy. Contrast Sybase's perl and C API's if you'd like an example. The fact of the matter is that lots of *good* things are done that wouldn't otherwise get done because of the existence of perl and CPAN.

    Sure, you can write shitty perl code, but you can write shitty code in any language. If you're the anal-retentive type, you can use strict. :)

    FWIW, I've heard slashdot-esque attacks time after time on perl by people advocating using some other language, but when it came time to get down to business, for some reason, anything they coded which was more complex than hello world ended up segfaulting when looked at funny.

    This shouldn't be construed as an attack on C (or java for that matter). I realize that different languages serve different purposes. Perl realizes that, too.. :) It's written in C, after all, and has XS to make use of C libraries.
  39. Why use something you hate? by dalke · · Score: 1
    an AC said
    Why use a language that you hate?
    I am a big Python fan, having switched from several years of Perl programming. I don't hate Perl, so I cannot give a real answer, but I will say that sometimes:

    #!/usr/local/bin/perl -pw
    BEGIN {
    %color = ( "A" => "red", "T" => "yellow", "C" => "blue", "G" => "green");
    }
    s|([ATCG])|"<font color='$color{$1}'>$1</font&gt"|eg if !/^>/;

    is just too cool for words (this HTML colorizes input DNA sequences in FASTA format based on the residue type).

    Doesn't Python have a regular expression library?
    Sure does, and Perl5 compatible (excepting a few examples with backtracking based on embedded perl code). However, the equivalent would be somewhat more complicated.

    Also in Dylan,
    I'm sure this re example would be more complicated in Dylan as well.

    methods can return more than one value.
    Perl and Python both allow multiple return values, so I don't understand the relevance of your comment.

  40. Mess by Matts · · Score: 1

    Messes get the work done though. It tends to be the case that when I say something in english that isn't quite what I should have said, people understand anyway. Perl is the same.

    You can argue that this isn't a good way to design a language until the cows come home, but it works for me, especially if you manage projects - less competent people can produce the goods, and more competent people can produce good goods. I've had to work with less competent people before and its better to have an end product than have to train them to program right (this is because of time constraints, not because I think it's a better thing to do).

    Matt.

    --

    Matt. Want XML + Apache + Stylesheets? Get AxKit.
  41. Minimalism by Matts · · Score: 1

    Unfortunately these academic languages don't solve many real world problems - only a subset. Perl solves many real world problems. I recall languages like Haskell, which is great for cute little (and some large) graph problems, but shite at text processing, GUI's, sound, networking, etc. Personally I do lots of different jobs at my work (text processing, GUI's, networking, graph problems, etc) and it helps me to have one language that can do them all.

    However, I would never force anyone to use perl if they hated it, like one poster here.

    --

    Matt. Want XML + Apache + Stylesheets? Get AxKit.
  42. Mess by Matts · · Score: 1

    Efficiency wasn't the point I was trying to make. If I had the time and the money to waste teaching every lemon fresh out of University how to program cleanly (in perl or in any other language) I wouldn't still be in business. I don't apply perl to every domain under the sun - but I apply it to most of the stuff that I do - because it's the language I know best (I also know C++, Java, Oberon-2, Python, Pascal, VB (yes, really), JavaScript and some others). If I was writing something time-critical I wouldn't use perl, but generally the stuff I do (text processing and databases) the time is either not critical, or the limiting factor is in the database.

    However, as a competent (I like to think _good_) perl programmer, everything I write is in modules and well documented.

    The point about perl though is that a good programmer can write well structured modular code (take a look at the NNML module for a fantastic example - it's an NNTP server), and a not-so-good programmer can just get along with it. The same can't really be said of many other languages, where you have to learn all the constructs and the right way to do things.

    And as for the example of inference - Perl manages to infer what you want to do very well (just like english). The sentance you write makes sense in the right context, the same can be said of perl programs. But let's not get carried away - perl is only context sensitive to the current statement - not across multiple statements (unless you count retval overloading).

    Language advocacy is futile isn't it... Still - can be worth it sometimes - it's the reason I checked out Python - and went back to perl.

    --

    Matt. Want XML + Apache + Stylesheets? Get AxKit.
  43. Love the stuff, hate Perl by William+Tanksley · · Score: 1

    I like what Wall says, and I try to read it a lot, because it makes being forced to work with Perl a little tiny bit less of a living hell.

    I hate that language.

    Except for short text-munching scripts, of course. Then I'll kill you if you keep it from me. Python works for everything else, but Perl rules there.

    -Billy

  44. Perl and the "90% solution" by William+Tanksley · · Score: 1
    Perl's design doesn't presume that one language can solve 100% of the problems out there very well. Perl solves 90% of them very well. For the other 10%, I'll gladly go to another language.

    Perl solves 10% of the problems very well, and has been shoehorned into solving 50% more REALLY badly.

    Golly, that makes it a majority, doesn't it? Majority rules! Let's all use Windows.

    -Billy

  45. Perl and the "90% solution" by William+Tanksley · · Score: 1
    Perl text-processing problems better than any language. There's 50% of web programming right there.

    If I had a hammer...

    Zope clearly shows that text mangling is not the only way to run a website (and in this case, not the easiest). There's more than one way to do this, and Perl's way isn't always the best way.

    Perl does networking well. There's another 10%.

    True, on a Unix box -- backquotes aren't considered good style. Still, 10% for CPAN support.

    But now you're adding unlike units -- "50% of web programming" doesn't add to "10% of all programming" to equal 60% of anything.

    Perl is a great replacement for shell scripting. Another 10%.

    Shell scripting is a replacement for Perl programming. I'll grant you more than 10% on that one :-).

    Perl is a great prototyping language. Another 10%.

    I try to prototype everything, but not in Perl. Shudder. I'll give you 10% here, although Python walks away with about 50% by your style of counting.

    Perl is an adequate (not great) approach to OO programming. Enough to clobber C++ for 10% of the problems, as it is more portable.

    "Not great" isn't high praise. Adequate is about right, though; it'll work, as would Intercal-2 (you know, the one with subject orientation).

    There's an easy 90%.

    Work the math again. Even ignoring the fact that Python can handle all of these except text mangling in a nicer and more portable manner, your numbers add up to somewhere above 30% (ignoring your web estimates, so add in as much as 50% times whatever fraction of jobs are done on the web).

    Now consider that Python does all this better.

    Of course, you'd have to program to know this.

    Thank you! But I think you DO know how to program, and you're just being modest.

    -Billy

  46. Why use something you hate? by AMK · · Score: 1
    As you'd expect, having something incorporated into the language allows having helpful syntactic sugar. For the particular case of regexes, Perl includes them in the language, while Python has an add-on module for them (primarily maintained by me). Because of this, using regexes in Python is somewhat clumsier than using them in Perl. For example, you have to pass regex patterns in strings; see the Regex HOWTO for the details.

    It's a trade-off; for programs that do lots of complicated regex processing, Perl's notation gives it an edge. On the other hand, there are lots of applications where regexes aren't very useful, and for those applications this clumsiness is irrelevant.

  47. In over his head by Paulo · · Score: 1

    Well, I don't know about you, but I have *definitely* heard the word "modern" applied to the system of ideas and beliefs that have ruled the Western world since the Renaissanse to our days (which would be, more or less, what you call rationalism). The difference is that "this" modernism I'm talking about had a broader ambit of influence; that is, it wasn't simply a literary or artistic movement, but a whole... mmm, how to call it... philosophy? Ideology?
    (Whatever; it's late and I'm going to bed...)

  48. threads like this by pudge · · Score: 1

    Threads like this prove to me it is time to do away with anonymous cowards posting on Slashdot. If you are going to ignorantly claim that Larry Wall, of all people, doesn't know anything about modern programming languages, at least tell us who you are so we know not to look at your comments anymore.

    You might as well just say that Ted Turner doesn't know anything about the TV business. And I want to know who is saying these dumb things so I can avoid them more easily in the future as I am looking for interesting comments.

  49. Mess by dvdeug · · Score: 1

    Irrelevant. Children are linguistic geniuses - they're basically hard-wired to pick up languages. If you want to compare the time the average adult takes to pick a new natural language to programing language, that's different.

    I'm taking a one credit hour Fortran class. For real ability, I'd probably need another one credit hour class on the subject, or the equivelent. People take five hour courses on human languages, and aren't even considered as knowing the basics yet. Full competence in a human language is probably 20-25 credit hours, at least.

  50. The Blame Game by David+Ishee · · Score: 1
    In the end, that's my complaint about perl. It's far to easy to write ugly, nasty, unmaintainable code. A programming language should enforce some minimum standard of style in the name of communal good, and the standard in perl seems to be: "well, I sort of understand what it's supposed to do..." Not good enough.
    You are blaming the language for the programmers misuse of it. I don't agree that is appropriate. Perl does enforce some "minimum standard of style", but it appears to be different than your preferred minimum.

    You will never please everybody, but I do like the language.

    --
    Your password has expired, please login to change it.
  51. Perl = write-only language by Mindphunk · · Score: 1

    Hmm. Perhaps documentation with that other write only language is the answer?

  52. Larry's speech was RAD. Your reply sucked! by bytor · · Score: 1

    Nuff said.

  53. Perl and the "90% solution" by Cassius · · Score: 1

    Perl text-processing problems better than any language. There's 50% of web programming right there.

    Perl does networking well. There's another 10%.

    Perl is a great replacement for shell scripting. Another 10%.

    Perl is a great prototyping language. Another 10%.

    Perl is an adequate (not great) approach to OO programming. Enough to clobber C++ for 10% of the problems, as it is more portable.

    There's an easy 90%.

    Of course, you'd have to program to know this.

  54. Deconstructing Larry's Speech (and perl, too)! by trims · · Score: 1

    I, too missed the LWE talk by Larry. Now I'm really sorry. Great speech, Larry. Now I know why perl has always looked like the contents of your average apartment complex dumpster: lots of cool, useful shit people throw out, hidden among even more nasty, disgusting stuff...

    I do agree with most of Larry's "analysis" of post-modernism. He even touches on what I think is the biggest downfall of post-modernism, and, coincidently enough, the biggest problem with perl . Larry called it the "Cult of Subjectivity". It's the subject of this talk, er, post:

    Despite Larry's attempts to label it as part of the modernist movement, absolute cultural relativism isn't: it's a natural (and logical) continuation of the post-modernist movement. It's what bothers most people living in the post-modernist age: the feeling that nothing has any absolute value, or that "It all depends on your point of view..." We tend to swallow the discomfort that comes along with being exposed to this concept, as long as it doesn't rear it's ugly head too often. The big problem with cultural relativism (and by some extention, post-modernism), is that you can't build a society on it. What makes a functioning society is common rules. Everyone has to agree that certain conventions are valuable enough that we all have to abide by them. Hence: laws.

    OK, enough philosophizing. How does this all relate to perl? In so far as perl is a post-modern language, it suffers from a problem similar to cultural relativism: the Cult of Mediocrity. Larry's point about the flexibility of perl to produce both beautify and stupifyingly ugly code is well taken: you can produce extremely nice code in perl much easier than many other languages. However, it's also much easier to writing totally unmaintainable code in perl than anything else.

    Perl supports to the Cult of Mediocrity (so does Visual Basic, and many others). It allows a minimally-competent programmer to write code, without thought to the community in general. In sort, perl allows you to be both lazy AND rude. The problem with the Cult of Mediocracy is that it places higher value on getting anything to work, rather than stopping to think if it should work.

    As it has been pointed out by luminaries much greater than myself, the difficulty in writing good code is not in mastering the language. The difficult is in producing a good algorithm (or structure). Programming languages should help the programmer by providing a framework where it is rather difficult to produce nasty code. B&D languages (like Forth) that enforce a single, "correct" standard lack the flexibility to be creative; however, flexibility for it's own sake is equally damaging (like, why are there 6 ways to do a case structure in perl?)

    The post-modernistic view of borrowing is good. However, perl seems to take this to an extreme, where it simply amalgamates other languages, and doesn't sythesize.

    In the end, that's my complaint about perl. It's far to easy to write ugly, nasty, unmaintainable code. A programming language should enforce some minimum standard of style in the name of communal good, and the standard in perl seems to be: "well, I sort of understand what it's supposed to do..." Not good enough.

    This wouldn't be a problem if perl was a restricted-domain (ie niche) language. However, it's a general-use language. No, I don't blame Larry for all the nasty perl code I see, but he does bear a good chunk of the responsibility for designing a language that allows that previous idiot to barf on a page and actually run it.

    ----------------

    All this said, I still like perl. If the programmer puts enough forethought into a perl script, it's great. Far easier and quicker than doing the same in C, C++, or even python. But I'll be more careful where I use it, and how I write code. Hopefully, everyone here will be to.

    It isn't called the "Swiss Army Chainsaw" of programming languages for nothing. Treat it with respect, and care, and it's very powerful. Screw around with it, and it'll rip your leg off (or at least, the programmer who has to read your code will hunt you down, and do so...)

    ----------------

    By the way, Larry, that's what your daughter meant when she says "That sucks!". It's OK to be post-modernist to a certain extent, even to a greater extent, but there have to be certain boundaries. Some things are BAD. And there has to be agreement that they are BAD. Of course, the trick here is to figure out who gets to set the boundaries. Never said it was easy. It's just that the bar is a little too low in perl's case.

    --
    There are always four sides to every story: your side, their side, the truth, and what really happened.
  55. In over his head by RedOctober · · Score: 1

    Sorry, but Nietzsche is postmodern. It's not "reason to power" but "will to power". Objectivity flies out the door when the will to power is asserted: notions of "truth" and "falsehood" are irrelevant, what matters is _will_.

    Though "Modernism" in the fine arts is usually applied to the period beginning with Picasso (probably from WWI to, say, WWII), the roots of Modernism in philosophy date back to the Enlightenment. It is then that the notions of reason and "objective truth" began to be in vogue.

    Po-mo in architecture also had a late start - the death of the "functional building" took place in the early 70's, at which point monstrous monolithic apartment blocks ("machines to be lived in") began to fall out of favour... nowadays buildings tend to be less functional but more ornate, with elements borrowed from various epochs (e.g. columns, art deco and glass facades used simultaneously, etc)

    However, as far as philosophy is concerned, pomo begins with Nietzsche (turn of the century), and continued with Heidegger, Foucault, Derrida et al. With these authors, there is a multiplicity of world-views, and no such thing as real "objectivity" (in fact, there is, but only as one particular world-view :) All of this would have been anathema to Modern thinkers such as Voltaire or Kant.

    My personal opinion, however, is that Schopenhauer had a postmodern core - so pomo in philosophy goes back to the late 19th century.

  56. What's philosophical "modernism" then? by RedOctober · · Score: 1

    There is a certain irony in trying to pin down the meaning of "postmodernism", since postmodernism itself tries to explode the myth of absolutes. However, I can give my own humble opinion, which will inevitably be open to dispute, given my somewhat limited readings on the subject.

    I think the problem is that the terms have become overloaded by their use by various fields,e.g. architecture, fine arts, literature and philosophy.

    Modernity has its roots in the Enlightenment... it is the "age of the grand narratives", or the age in which it was believed that humankind was ultimately comprehensible and perfectable. It's greatest exponent, in a way, is Karl Marx: he provided a world view that was all-encompassing, and utterly rational (in spite of what some brain dead neo-McCarthyites might think). The law of the day was reason, and the focus was on the human subject. Throughout modernity, the notion of the ego was an unquestioned assumption.

    Modernism, in my view, depends on the field in which it is used. In the social sciences, it was marked by the appearance of Freud. In the fine arts, it refers to the works of Picasso, Braque, Rodin. In literature, it refers to the works of Joyce and Hesse. In architecture, it refers to the works of the likes of Frank Lloyd Wright and De Corbusier. In many ways, these artists created in reaction to classisism... yet their works focused on the centred subject (i.e. it assumed the ego). They could portray a dismal, irrational world, but they always retained the modernist focus on the ego (e.g. the Dadaists, who really attacked reason as a protest against the horrors of WWI - an act which implicitly assumes the ego).

    Postmodernism is the vision beyond (but not necessarily *after*) the modern. A whole mish-mash of ideas and themes fall under this banner. It's invariably a mish-mash, because postmodernism denies that grand narratives of human experience can be universal... hence a taxonomy of postmodernism cannot be universal.

    Postmodern literature sees a "de-centering" of the subject, and the playful use of various elements from "pop-culture" genres... e.g. Umberto Eco's "Name of the Rose" is a philosophical treatise dressed as a detective novel (possibly the bottom of the literary pecking order as far as moderns are concerned :)

    Postmodern buildings will have a pastiche of elements from various epochs... they are in many ways a "pun" on the claims of universality of various epochs, a sort of playful joke. They are, on the whole, definitely more liveable than the modernist monstrosities we saw built in the 50's and 60's.

    The roots of postmodernist art, of course, comes from the disintegration of the modernist project... which begins with the demolition of the ego. However, it's impossible to pin down when this happens in philosophy. Certainly Nietzsche began to break down the assumptions of the centred subject, of modernity's rationalism, of the perfectability of humankind back at the turn of the century. However, existentialists such as Sartre and Camus, who came much later, are still in the modernist camp: their focus on the ego or self is crucial to their writings. So the time when philosophy stops being modern and becomes post-modernist is not clear-cut.

    In fact, this obsession with dividing everything into sequential clear cut periods is very much a modernist thing to do... I have heard from a lecturer that we have always lived in post-modernity, it's just that as moderns we hadn't realised.

    It's interesting that post-modernists like Foucault, Derrida, Lyotard and others really started coming out of the woodwork in the 50's and 60's, soon after the excesses of Stalinism became apparent (after Kruschev's speech at the 20th party congress of the Communist Party). It also took off like a rocket after the Prague Spring, in 1968. A cynic might argue that it is the left intelligentsia's reaction to a failing Soviet Union...given that Marx was the pinnacle of Modernity, it sort of connects, does it not?

    A really good book on the modernist and post-modernist transition in philosophy is Solomon's "Continental Philosophy since 1750", published by Oxford Press. A more humorous treatment of Postmodernism in art, literature, architecture and philosophy is "Postmodernism for Beginners" - a cartoon book!

  57. No Subject Given by mattc · · Score: 1

    Enough buzzwords for ya? This guy is a master at saying nothing!

  58. deconstruction??? by r · · Score: 1

    unfortunately, i must agree. wall is a great writer (i don't think any software manual other than the camel book made me laugh out loud), but he shouldn't engage philosophy in his writings.

    i was especially confused about his comments on deconstruction. he seems to equate deconstruction with a method of taking different elements from different genres and nailing them together into one strange-looking structure - the sort of algorithm that sometimes passes as postmodern art.

    but there was no mention of deconstruction as attempt at discovering and inverting basic cultural assumptions - the same assumptions that that made so many philosophers assert they've discovered metaphysical truths. really, perl is not even close to a deconstructionist language, as it never attempted to discover the bases for 'goodness' and 'badness' behind other languages - in fact, it's primarily pragmatic in that it does not critically analyze other languages, but simply assimilates whatever conventions it finds useful.

    but i still think the camel book is great.

    --

    My other car is a cons.

  59. Mistaken on philosophy by RedGuard · · Score: 1

    Nietzsche and Heidegger were early postmodernists,
    or at least they were highly influential in
    developing the thinking of the radical French
    intelligensia, Derrida in particular.

  60. Mistaken on philosophy by RedGuard · · Score: 1

    But what point is there in saying modernism
    is based on the philosophy of Nietzsche without
    saying why, such a claim is very close to saying
    modernism equals nazism and more or less
    duplicates the basis of Larry Wall's attack on it.
    Of course Nietzsche differed from the pomos, for
    him subjectivity was exercised by a few supermen
    whereas Derrida goes even lower and refuses any
    universalism what so ever, just meaningless difference.
    As for /. I would have thought a technology website was a very good place to defend rationality

  61. Nice. by NutZac · · Score: 1

    Loved the speech. Love the language. I've been able to pick up Perl very quickly, and do a considerable amount of cool stuff with it.
    Larry Wall is certainly a man worthy of respect in my mind.

    --
    Linux: Because rebooting is for adding new hardware.
  62. Good speech by Jonas+�berg · · Score: 1

    Really nice speech, too bad I wasn't there to hear it. More audio-clips from the GNU and Linux-related speeches people! :)

  63. JWZ by scjody · · Score: 1
    Did this speech cause jwz to leave the party?

    If so, how quickly?

    --

    "...Is this world not a call I can screen out" --

  64. What's philosophical "modernism" then? by climacus · · Score: 1

    The distinction between Modern and Modernist is subtle but well understood by those engaged in pomo criticism. Everyone from Descartes onward are Moderns, whereas Modernists refer specifically to the period from the late 19th century to 1960s.

  65. In over his head by climacus · · Score: 1

    > Nietzsche is postmodern.

    It is generally a bad idea to claim Nietzsche for a cause, because his philosophical texts is very writerly and lends itself very well to misreading.
    If history is any indication, you can read just about anything into Nietzsche if you try hard enough. The Nazi did it, the existentialists did it, and now Nietzsche is our pomo prophet. There is a section early-on in Beyond Good & Evil in which he predicts exactly just that. It's the section about the New Philosopher wearing many masks but that his true identity will always elude the crowd.

    Of course it'd be wrong to deny that postmodernism is very much a Nietzschean project.

  66. Perl is nit free ! by Abigail · · Score: 1

    You are wrong. Twice. First, the Artistic License is much freeer than the viral GPL. Second, Perl *is* distributed with the GPL. If you want to use Perl, you can do that under either GPL, or the Artistic License. It's *your* choice.


    -- Abigail

  67. Why use something you hate? by Abigail · · Score: 1

    It was said:

    > Gwydion Dylan has a nice Perl-compatible regexp library. Also in Dylan, methods can return more than one value.


    So what? It has a compatible regexp library, and it returns more than one value from a method just like Perl. All I've been hearing about this Dylan are a handful of things it does the same as Perl.

    If you want to promote Dylan, come up with something it does *different* from Perl. Perhaps you can think of something that it does better; but considering what you've written so far, I doubt there's anything.

    Is there a CDAN?


    -- Abigail

  68. Mess by Abigail · · Score: 1

    > Natural languages tend to me messes too, especially English.


    Yet four years old children master English better than most people master C, Java, Python, or Dylan.


    -- Abigail