Slashdot Mirror


Immortal Code

ziani writes ""... Sometimes a piece of code is so elegant, so evolved, that it outlasts everything else." Nice article at Wired wondering how much great (and lousy) code is lost due to business failures."

17 of 354 comments (clear)

  1. It's nice by e12532 · · Score: 3, Funny

    It's nice to see some elegant code in this world of bloated redundant code... Is it me or does it seem that open source is written much more elegantly? Is this just because we can actually see the source :) I'd sit in a corner rocking back and forth if I was forced to read Micro$oft code...

  2. Here's some REALLY immortal code by Anonymous Coward · · Score: 5, Funny

    #! /bin/bash

    while true; do
    sleep 1
    done

    1. Re:Here's some REALLY immortal code by buzzsport · · Score: 5, Funny

      ^C

    2. Re:Here's some REALLY immortal code by poot_rootbeer · · Score: 4, Funny


      Immortal? Hardly. I was able to kill it.

  3. Elegant code like this? by StevenMaurer · · Score: 4, Funny

    int main()
    {
    printf("Hello world\n");
    return 0;
    }

    Seems like the most well known piece of code in programming history.

    1. Re:Elegant code like this? by JimDabell · · Score: 4, Funny

      So well known that you forgot a bit of it :)

      #include <stdio.h>
  4. Re:Immortal code by Anonymous Coward · · Score: 5, Funny
    C:\>/sbin/iptables -I FORWARD -p udp --dport 1434 -j DROP
    The system cannot find the path specified.

    C:\>

  5. Hello World, of course! by Amsterdam+Vallon · · Score: 5, Funny

    ... in COBOL nonetheless!

    000100 IDENTIFICATION DIVISION.
    000200 PROGRAM-ID. HELLOWORLD.
    000300 DATE-WRITTEN. 02/05/96 21:04.
    000400* AUTHOR BRIAN COLLINS
    000500 ENVIRONMENT DIVISION.
    000600 CONFIGURATION SECTION.
    000700 SOURCE-COMPUTER. RM-COBOL.
    000800 OBJECT-COMPUTER. RM-COBOL.
    000900
    001000 DATA DIVISION.
    001100 FILE SECTION.
    001200
    100000 PROCEDURE DIVISION.
    100100
    100200 MAIN-LOGIC SECTION.
    100300 BEGIN.
    100400 DISPLAY " " LINE 1 POSITION 1 ERASE EOS.
    100500 DISPLAY "HELLO, WORLD." LINE 15 POSITION 10.
    100600 STOP RUN.
    100700 MAIN-LOGIC-EXIT.
    100800 EXIT.


    *nix.org - Featuring BSD, Linux, OS X, Solaris, & More!

    --

    Reply or e-mail; don't vaguely moderate. Ex-O'Reilly/MIT employee, now a full-time Google employee.
  6. Re:Who Is the Greatest Programmer? by jridley · · Score: 4, Funny

    Walla, the program now works! ...
    Computers are not "smart" like humans, thus they require very specific instructions in order to do anything.


    Yes, humans are able to know what you mean even when you type totally the wrong word, like "Walla".

  7. the naturally speaking code by MadFarmAnimalz · · Score: 3, Funny

    Left with nothing, Jim and Janet Baker turned to the courts. In a failed attempt to retrieve Dragon from among the L&H assets that were now locked up by bankruptcy laws, they hired the powerhouse law firm run by David Boies.

    David Boies?

    MAN, is that code GONE.

    --
    Blearf. Blearf, I say.
  8. Immortality? (ObLovecraft) by Dr.+Photo · · Score: 5, Funny
    "That is not dead which can eternal lie, Yet with strange aeons, even Death may die."

    Ia! Ia! COBOL Ftaghn!

  9. Everybody Sing Along With Me by Anonymouse+Howard · · Score: 5, Funny

    THIS CODE IS YOUR CODE - you know what tune to sing it to

    This code is your code, this code is my code,
    To California from the south of Finland,
    From the GNU compiler, to the ELF binaries,
    This code was made for you and me.

    As I was trolling the threads on Slashdot,
    In Unreal Tournament, I need an aimbot,
    I saw before me the new KDE,
    This code was made for you and me.

    This code is your code, this code is my code,
    To California from the south of Finland,
    From the GNU compiler, to the ELF binaries,
    This code was made for you and me.

    Downloaded sourcecode, unzipped the tarballs,
    Dot slash configure, then make-installs,
    And all around me, my systems showed me,
    This code was made for you and me.

    This code is your code, this code is my code,
    To California from the south of Finland,
    From the GNU compiler, to the ELF binaries,
    This code was made for you and me.

  10. Ack! by M.C.+Hampster · · Score: 5, Funny
    ... in COBOL nonetheless!

    My eyes! MY EYES!!

    --
    Forget the whales - save the babies.
  11. DOS? or what? Clarification requested. by Anonymous Coward · · Score: 3, Funny

    Are we speaking of "immortal" in the sense of vampiric, blood- and money-sucking immortal code(Windows), zombie code(DOS) or of angelic/divine code(my database applications)?

  12. Woody Guthrie on copyright. by EdlinUser · · Score: 5, Funny

    "This song is Copyrighted in U.S., under Seal of Copyright # 154085, for a period of 28 years, and anybody caught singin' it without our permission, will be mighty good friends of ourn, cause we don't give a dern. Publish it. Write it. Sing it. Swing to it. Yodel it. We wrote it, that's all we wanted to do."

  13. Murphy's Law of Immortal Code by russotto · · Score: 3, Funny

    That beautiful piece of elegant code you wrote will be lost in a system crash as soon as you move on, if not sooner. That horrid inefficient kludge you wrote early in your career will be retained forever, and when through the vagaries of the world, you end up at the company which owns that code, you will end up responsible for maintaining it.

  14. Re:Who Is the Greatest Programmer? by delcielo · · Score: 3, Funny

    Not necessarily true. In India, the man who sells code might be known as the "code-walla." Therefore, his worker-bee might just be inclined to exclaim "Walla! The program now works!"

    --
    Hot Damn! It's the Soggy Bottom Boys!