Author Topic: This is the most awesome programming language...  (Read 2715 times)

0 Members and 1 Guest are viewing this topic.

This is the most awesome programming language...
I'm sure what with so many of this forum's people being coders, some of you have heard of this, but my professor just showed it to us in my CS lecture, and it was too funny not to share:

LOLCode.  :lol:

Code: [Select]
HAI
CAN HAS STDIO?
I HAS A VAR
GIMMEH VAR
IZ VAR BIGGER THAN 10?
YARLY
BTW this is true
VISIBLE "BIG NUMBER!"
NOWAI
BTW this is false
VISIBLE "LITTLE NUMBER!"
KTHX
KTHXBYE

Actual programming language, the above code compares a variable to the number 10 and if it's larger, says "big number", smaller, says "little number".

This had the entire class roaring with laughter for nearly five minutes straight (the code he showed us was longer and had more weird things in it, such as "IM IN UR LOOPZ" to start a loop).

Anyway, just thought I'd share for laughs.  :D
"You need to believe in things that aren't true. How else can they become?" -DEATH, Discworld

 
Re: This is the most awesome programming language...
Looks like this guy invented it:

'Teeth of the Tiger' - campaign in the making
Story, Ships, Weapons, Project Leader.

 

Offline Turey

  • Installer dude
  • 211
  • The diminutive form of Turambar.
    • FreeSpace Open Installer Homepage
Re: This is the most awesome programming language...
I am actively involved in the LOLCODE community.  I'm helping develop the language.
Creator of the FreeSpace Open Installer.
"Calm. The ****. Down." -Taristin
why would an SCP error be considered as news? :wtf: *smacks Cobra*It's a feature.

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Re: This is the most awesome programming language...
:wakka:

 

Offline Turey

  • Installer dude
  • 211
  • The diminutive form of Turambar.
    • FreeSpace Open Installer Homepage
Re: This is the most awesome programming language...
http://lolcode.com/ is the website where we're working on the language. Anyone wanting to help can drop in and offer up some suggestions.
Creator of the FreeSpace Open Installer.
"Calm. The ****. Down." -Taristin
why would an SCP error be considered as news? :wtf: *smacks Cobra*It's a feature.

 

Offline JGZinv

  • 211
  • The Last Dual! Guardian
    • The FringeSpace Conversion Mod
Re: This is the most awesome programming language...
Do I dare ask if this is the self same language being worked into
FS2 to provide new features?

SRY

FOTT EM MOWTH DWISODR

KTHXBYE
True power comes not from strength, but from the soul and imagination.
Max to PCS2 to FS2 SCP Guide
The FringeSpace Conversion Mod

 

Offline Turey

  • Installer dude
  • 211
  • The diminutive form of Turambar.
    • FreeSpace Open Installer Homepage
Re: This is the most awesome programming language...
Do I dare ask if this is the self same language being worked into
FS2 to provide new features?

SRY

FOTT EM MOWTH DWISODR

KTHXBYE

Of course. It's replacing Lua as the scripting language of choice.  :p

BTW, here's my prime factoring program:
Code: [Select]
BTW LolCode Implementation of a program I had to write for my Java class, a long time ago.
BTW LolCode Spec 1.2, with GOIN UP/DOWN as laid out here: http://forum.lolcode.com/viewtopic.php?pid=2406#p2406
BTW There might be some syntax/usage/logic errors around, but that's to be expected in a language that's still forming and doesn't have a standard compiler.
HAI
    BTW Define some useful functions
    HOW DUZ I SGN YR SPEECHINGS
        GOIN DOWN 0 AN SPEECHINGS MKAY
        O RLY?
            YA RLY
                FOUND YR -1
            NO WAI
                FOUND YR 1
        OIC
    IF U SAY SO
    HOW DUZ I ABS YR SPEECHINGS
        FOUND YR PRODUKT OF SPEECHINGS AN SGN SPEECHINGS
    IF U SAY SO
   
    I HAS A WHATUSAY
    I HAS A factor1 ITZ 1
    I HAS A factor2 ITZ 0
    I HAS A numOfFactors ITZ 0
    VISIBLE "Input a number to be factored."
    GIMME WHATUSAY
    WHATUSAY IS NOW A NUMBR
    VISIBLE "Factors of " AN WHATUSAY AN ":"
    IM IN YR loop
        GOIN UP ABS WHATUSAY AN PRODUKT OF factor1 AN factor1 MKAY
        O RLY?
            YA RLY
                GTFO
        OIC
       
        BOTH SAEM 0 AN MOD OF WHATUSAY AN factor1
        O RLY?
            YA RLY
                factor2 R QUOSHUNT OF WHATUSAY AN factor1
                numOfFactors R SUM OF numOfFactors AN 1
                VISIBLE "[" AN factor1 AN "," AN factor2 AN "]"
                VISIBLE "[" AN PRODUKT OF factor1 AN -1 AN "," AN PRODUKT OF factor2 AN -1 AN "]"
        OIC
        factor1 R SUM OF factor1 AN 1
    IM OUTTA YR loop
    BOTH SAEM 1 AN numOfFactors
    O RLY?
        YA RLY
            VISIBLE "Note: This number is a prime number."
    OIC
KTHXBYE
« Last Edit: October 26, 2007, 11:17:18 pm by Turey »
Creator of the FreeSpace Open Installer.
"Calm. The ****. Down." -Taristin
why would an SCP error be considered as news? :wtf: *smacks Cobra*It's a feature.

 

Offline achtung

  • Friendly Neighborhood Mirror Guy
  • 210
  • ****in' Ace
    • Freespacemods.net
Re: This is the most awesome programming language...
No one ever credits the right people for the memes they uses.
FreeSpaceMods.net | FatHax | ??????
In the wise words of Charles de Gaulle, "China is a big country, inhabited by many Chinese."

Formerly known as Swantz

 

Offline Excalibur

  • 28
  • Forsee a new beginning.
Re: This is the most awesome programming language...
When people is not understand,

change mind to:

they still don't understand... I don't know the slightest thing about programming, and when is above = more gibberish
His legacy will last until the beginning.