• Lucid Dreaming - Dream Views




    Results 1 to 10 of 10

    Hybrid View

    1. #1
      Banned
      Join Date
      Feb 2008
      Posts
      1
      Likes
      0

      The Obfuscated Code Competition


    2. #2
      Banned
      Join Date
      Apr 2007
      Location
      Out Chasing Rabbits
      Posts
      15,193
      Likes
      935
      Lol, I occasionally write code like that by accident

    3. #3
      Member Achievements:
      1 year registered Veteran First Class 5000 Hall Points

      Join Date
      Sep 2004
      Gender
      Location
      Seattle, WA
      Posts
      2,503
      Likes
      217
      http://www.ioccc.org/1995/heathbar.c

      self-documenting code at its finest!!

    4. #4
      Member Achievements:
      1 year registered Veteran First Class 5000 Hall Points
      tyrantt23's Avatar
      Join Date
      Nov 2004
      Gender
      Location
      Bay Area, CA (USA)
      Posts
      848
      Likes
      1
      Quote Originally Posted by Replicon View Post
      http://www.ioccc.org/1995/heathbar.c

      self-documenting code at its finest!!
      omg...

      Adopted: mystqjaq
      Raised by: Seeker
      My Dream Journal | My Aquarium | Myspace | Facebook Me | Stickam

    5. #5
      Banned
      Join Date
      Apr 2007
      Location
      Out Chasing Rabbits
      Posts
      15,193
      Likes
      935
      I like medium level languages. If you go really low level then everything gets hard to understand. This is a well written hello world program

      Code:
      title Hello World Program
      dosseg
      .model small
      .stack 100h
      .data hello_message db 'Hello, World!',0dh,0ah,'$'
      .code
      main  proc
        mov ax,@data
        mov ds,ax
        mov ah,9
        mov dx,offset hello_message
        int 21h
        mov ax,4C00h
        int 21h
        main endp
      end main
      You guys remember Qbasic, you could put your entire program in one line of code as long as you put a colon between statements.

      Code:
      DECLARE SUB Greet():DIM SHARED greeting$ = "Hello World":CALL Greet():SYSTEM:SUB Greet():? greeting$:END SUB

    6. #6
      Member dream-scape's Avatar
      Join Date
      Aug 2004
      Posts
      482
      Likes
      1
      QBasic! Those were the days.
      Insanity is the new avant-garde.

    Bookmarks

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •