• Lucid Dreaming - Dream Views




    Results 1 to 10 of 10
    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.

    7. #7
      Banned
      Join Date
      Apr 2007
      Location
      Out Chasing Rabbits
      Posts
      15,193
      Likes
      935
      Yeah, I loved how we had to identify each symbol's type with a % for integer, & for floats, and $ for strings.

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

      Join Date
      Sep 2004
      Gender
      Location
      Seattle, WA
      Posts
      2,503
      Likes
      217
      Quote Originally Posted by ninja9578 View Post
      Yeah, I loved how we had to identify each symbol's type with a % for integer, & for floats, and $ for strings.
      Ah, those old days. Thankfully, with Perl, we've learned our... oh wait...

      Perl - making the IOCCC obsolete since 1987

    9. #9
      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
      Ah, those old days. Thankfully, with Perl, we've learned our... oh wait...

      Perl - making the IOCCC obsolete since 1987
      lol... that makes me feel all warm and fuzzy inside. I just started taking a some community college class on Perl to expand my computer knowledge.

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

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

      Join Date
      Sep 2004
      Gender
      Location
      Seattle, WA
      Posts
      2,503
      Likes
      217
      Perl is great for hacking up a quick script to do some weird slicing, etc. that's more sophisticated than you can achieve with the likes of sed/awk. It's just when someone spits out an oxymoron like "Object-Oriented Perl" that I start twitching.

    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
    •