Slashdot Mirror


Building a Programmer's Rosetta Stone

Did you ever run into the problem where you knew how to do something in one programming language, but really needed to do it in another? That's what Rosetta Code is all about. A variety of programming tasks are solved using as many languages as possible. You can examine existing tasks, or create your own.

10 of 215 comments (clear)

  1. One task that isn't on there by antifoidulus · · Score: 4, Funny

    "How to bring a hooker back to life" Damn, I really neede....I mean, was interested in how you would do it in Perl, for curiosity's sake....

    1. Re:One task that isn't on there by Anonymous Coward · · Score: 3, Funny

      use Hooker::Transactional;

      Hooker::Transactional->get_last->rollback;

      Dude, CPAN has EVERYTHING! :)

    2. Re:One task that isn't on there by patio11 · · Score: 2, Funny

      >>
      I mean, was interested in how you would do it in Perl, for curiosity's sake....
      >>

      There's more than one way to do it.

  2. Will they support these programming styles ?!? by ctrl-alt-canc · · Score: 3, Funny
  3. Re:No Fair! by frakir · · Score: 5, Funny

    I program in Malbolge, you insensitive clod!
    http://en.wikipedia.org/wiki/Malbolge_programming_ language

    I hope next windows ver will be coded in Malbolge and open source.

  4. Re:Simple Tasks - Not Progamming Wars by seebs · · Score: 2, Funny

    I can beat that. The language Greet has the specification that an empty input file (or indeed, any other) is a program directing the language to print "Hello, world!"

    In fact, K&R presents a complete Greet interpreter very early on.

    --
    My blog: http://www.seebs.net/log/ --- My iPhone/iPad app: http://www.seebs.net/seebsfrac/
  5. Re:No Fair! by Dunbal · · Score: 2, Funny

    I hope next windows ver will be coded in Malbolge and open source.

          You mean it's not? ;)

    --
    Seven puppies were harmed during the making of this post.
  6. Re:Pointless, don't bother! by Reverend528 · · Score: 2, Funny
    I looked at the file I/O task, and there were no versions for ... Java

    Well, that would be pushing the limits of the MySQL LARGETEXT field.

  7. Re:No Fair! by nuzak · · Score: 2, Funny

    > I hope next windows ver will be coded in Malbolge and open source.

    If something's written in malbolge, I don't think it really matters if it's open source.

    --
    Done with slashdot, done with nerds, getting a life.
  8. Re:While you wait by Short+Circuit · · Score: 2, Funny

    That's actually the page that inspired the site.