Slashdot Mirror


Are Extensible Programming Languages Coming?

gManZboy writes "Programming writer and instructor Greg Wilson is proposing that the next generation of programming languages will use XML to store not only such things as formatting (so you can see indentation your way, and I can see it my way, via XSLT) but even programmatic entities -- like: <invoke-expr method="myMethod"><evaluate>record</evaluate></invoke-expr>. Wacky, but perhaps wacky enough to be possible?"

10 of 838 comments (clear)

  1. Damn... by ackthpt · · Score: 5, Funny

    They should have put the < and > keys in the middle of the keyboard.

    --

    A feeling of having made the same mistake before: Deja Foobar
  2. Short answer, no by Anonymous Coward · · Score: 4, Funny


    <content="N0!!!!!!!!!!!!!">
    </answer>

    1. Re:Short answer, no by shogun · · Score: 4, Funny

      You left the DTD off, we'll unfortunantly have to ignore your reponse.

  3. Re:Is this guy serious? by lukewarmfusion · · Score: 5, Funny
    No, don't you prefer this:
    <invoke-expr method="myMethod"><evaluate>record</evaluate></inv oke-expr>

    over this:
    someObj.myMethod(record);

    ? I, for one, welcome the obscuring verbosity. It's a challenge. It's exciting. It's job security.
  4. Re:Holy mother of all that is good, NO! by Piquan · · Score: 4, Funny

    At a guess, it segfaults when printf tries to read its formatting string and gets (on most platforms) a null pointer instead.

  5. Re:Is this guy serious? by Curtman · · Score: 4, Funny

    If the tools are inconvenient to use or not suitable to the problem at hand, they don't get used.

    Tell that to the Internet Explorer development team.

  6. <comment><type="funny"> by ZiZ · · Score: 4, Funny


    <do-in-order type="step">
    <step order="1"><pontificate subject="programming languages"/></step>
    <step order="2"><ellipsis/></step>
    <step order="3"><invoke-slashdot cliche="list-of-steps">profit!</invoke-slashdot></ step>
    </do-in-order>
    <forget-formatting/>
    <welc ome-overlords type="needlessly complicated, obfuscated, and wordy"/>
    </invoke-slashdot>
    </rant>
    <remark type="obligatory-attempt-at-wit">But it could be worthwhile.</remark>
    </type>
    </comment>
    <sig>

    --
    This flies in the face of science.
  7. Re:Is this guy serious? by interiot · · Score: 4, Funny
    In the begining (1954, according to my O'Reilly poster) was Cobol. People moaned and complained.

    Next came Lisp (1958). They had to literally invent garbage collection simply to be able to create the language. In 2005, garbage collection is finally starting to be found in almost every non-embedded language.

    1982 brought us Postscript. It's new! Exciting new syntax. Well, okay, Lisp thought of it first.

    1996 brought the world XML. Exciting new syntax! Again!

  8. Re:Is this guy serious? by Frank+T.+Lofaro+Jr. · · Score: 4, Funny

    And if it fails to help you keep your job, you have yet another XML item to add to your resume. :)

    --
    Just because it CAN be done, doesn't mean it should!
  9. Yay for <xml>. by Anonymous Coward · · Score: 5, Funny

    <response language="English">
    <exclamation tone="sarcastic">
    <word partofspeech="adjective" syllables="1">
    <character encoding="ascii">W</character>
    <character encoding="ascii">h</character>
    <character encoding="ascii">a</character>
    <character encoding="ascii">t</character>
    </word>
    <word partofspeech="indefinite article" syllables="1">
    <character encoding="ascii">a</character>
    </word>
    <word partofspeech="adjective" syllables="1" emphasis="true">
    <character encoding="ascii">g</character>
    <character encoding="ascii">r</character>
    <character encoding="ascii">e</character>
    <character encoding="ascii">a</character>
    <character encoding="ascii">t</character>
    </word>
    <word partofspeech="noun" syllables="1">
    <character encoding="ascii">i</character>
    <character encoding="ascii">d</character>
    <character encoding="ascii">e</character>
    <character encoding="ascii">a</character>
    </word>
    <punctuation>
    <character encoding="ascii">!</character>
    </punctuation>
    </exclamation>
    </response>