Slashdot Mirror


IOCCC 2006 is now open

leob writes "The 19th International Obfuscated C Code Contest opened one minute before the New Year to qualify for the 2006 designation. Entries accepted until the end of February. Start writing and submitting your entries now!"

12 of 76 comments (clear)

  1. On the other hand ... by Salvance · · Score: 2, Insightful

    They could always create an International Obfuscated AJAX competition, then every entrant could be a winner.

    Either I'm dumber than I had hoped, have worked with nimwitted programmers, or (much more likely) most AJAX implementations are just completely illogic to follow. When reviewing "Web 2.0" work, I often miss the logic and structure of C.

    --
    Crack - Free with every butt and set of boobs
    1. Re:On the other hand ... by misleb · · Score: 2, Insightful

      AJAX is complicated by the fact that you are executing code in two places... the server and the client. And code is often mixed with HTML. How obfuscated it is (or seems) really depends on the framework you are using. If you're putting together an app/site with PHP and writing your own AJAX calls, it can get pretty hairy. But when using something like Ruby on Rails, it is pretty straight forward.

      -matthew

      --
      "THERE IS NO JUSTICE, THERE IS ONLY ME." -Death
  2. Racist contest by fatnicky · · Score: 3, Funny

    I for one find it appalling that only C is allowed. What about Plus or Sharp? They have the same rights as the high and mighty C does. What this amounts to is pure and simple racism. This brings us right back to the coding rights movement of the 80's. I cannot believe we are still struggling.

    I'm so mad, I'm calling Jess-C Jackson. He'll get Al #ton on the phone as well.

    --
    Free childcare classifieds: www.carebrite.com
    1. Re:Racist contest by Dachannien · · Score: 2, Funny

      I was going to make a Johnnie Cochran joke, but I couldn't think of any programming languages that would make a good pun.

    2. Re:Racist contest by aquatone282 · · Score: 5, Funny

      If the compiler does not quit, you must commit?

      --
      What?
  3. Starting a minute before midnight by grahamsz · · Score: 4, Funny

    Having the 2006 competition run in 2007...

    It's like they are setting out to create a contest that is unclear and needlessly difficult to understand.

    1. Re:Starting a minute before midnight by gkwok · · Score: 3, Funny

      Maybe they're using a 0-based year array.

  4. Isn't it time for a CLEAR code contest? by dpbsmith · · Score: 3, Interesting

    A contestant would submit a piece of code together with the specification of what the code was supposed to do, but no other documentation.

    The judges would propose a straightforward change in the specification.

    The code and the revised specification would be given to an impartial panel of a hundred programmers, selected at random from the ranks of people working for a living writing code. Each of them would be asked to modify the code to meet the revised spec. They would also be instructed to fix any bugs they noticed in the code they were given. The revised code and spec would then submit each one to an impartial panel of 100 SQA testers, selected at random from the ranks of people who work for a living testing code.

    The winner would be the contestant whose code, after being modified by other programmers, passed the largest number of SQA tests.

    (And, yes, SQA failures due to unfixed bugs in the original code would count against the contestant).

    1. Re:Isn't it time for a CLEAR code contest? by nacturation · · Score: 2, Insightful

      Yeesh... sounds too much like work. I get paid to write clear code. When I don't get paid, I want to have fun with it.

      --
      Want to improve your Karma? Instead of "Post Anonymously", try the "Post Humously" option.
  5. Re:A good one for a good programmer... by nacturation · · Score: 2, Interesting

    That's probably a good way to lose since creativity is one of the key factors, not just plain illegibility. Take, for example, this program (one of my all-time favorites) which prints out the value of pi:

    http://www0.us.ioccc.org/1988/westley.c

    Or this one which, when compiled and run, prints out another character as program source. You compile the output to that, run it and it outputs another character as program source. You compile that, and you get back the original program's source:

    http://www0.us.ioccc.org/2000/dhyang.c

    And given the space constraints, your program should be quite clever and compact itself even before you try and obfuscate it.

    --
    Want to improve your Karma? Instead of "Post Anonymously", try the "Post Humously" option.
  6. every year, this must get re-explained by Speare · · Score: 2, Informative

    Okay, the 2006 "Explanation of Why IOCCC Is Not Just Ugly Code" is now underway.

    The winning entries are pieces of art, not pieces of dung. They look like they should do one thing, but they do another. They arrange the code in a visually pleasing but maintenance-proof way. They choose some concept and take it to the absurd limit, all within a tiny amount of code.

    My favorite past entry is John Tromp's maze generator. In seven lines of code, he produces random mazes. The variables are named M, A, Z, E instead of useful functional mnemonics. The source code is formatted to LOOK like a maze. And even in this maze which is the source code, the passages in the maze spell out the word 'maze.' This is not just putting a pig on the lipstick, this is making the pig look *good*.

    --
    [ .sig file not found ]
  7. Re:It'll get better. by morgan_greywolf · · Score: 2, Insightful
    Common Lisp or Scheme code is often only unreadable to people who have had their brains scrambled by languages like C, C++, Java, C# and VB.


    C or C++ code is often only unreadable to people who have had their brains scrambled by languages like Common Lisp and Scheme.

    So? The fact that some management types think scheme proves exactly what?