Panamah
06-11-2007, 11:46 AM
This is soooo funny: http://programming.linux.com/article.pl?sid=07/06/07/1654251&from=rss
Snippet
I can has syntax?
The LOLCODE language is still being developed, but you can start learning LOLCODE and even help shape its development. If you're a fan of lolcats, you'll find the syntax easy to remember. If you're not, you probably haven't read this far.
What introduction to a language would be complete without the ever-popular "Hello World!" example? LOLCODE provides a "HAI WORLD!" example instead.
LOLCODE I HAS IT You begin each LOLCODE application with the HAI statement. Next, use the LOLCODE print statement, VISIBLE, and finish your application with KTHXBYE:
HAI
VISIBLE "HAI WORLD!"
KTHXBYE
You'll notice, of course, that everything in LOLCODE is in all caps.
HAI
I HAS A CHEEZBURGER ITZ 1
IM IN YR LOOP
VISIBLE "I has dis many: " N CHEEZBURGER
IZ CHEEZBURGER BIGGER THAN 11 O RLY?
YA RLY
GTFO
NO WAI
UP CHEEZBURGER!!1
KTHX
KTHX
KTHXBYE
Snippet
I can has syntax?
The LOLCODE language is still being developed, but you can start learning LOLCODE and even help shape its development. If you're a fan of lolcats, you'll find the syntax easy to remember. If you're not, you probably haven't read this far.
What introduction to a language would be complete without the ever-popular "Hello World!" example? LOLCODE provides a "HAI WORLD!" example instead.
LOLCODE I HAS IT You begin each LOLCODE application with the HAI statement. Next, use the LOLCODE print statement, VISIBLE, and finish your application with KTHXBYE:
HAI
VISIBLE "HAI WORLD!"
KTHXBYE
You'll notice, of course, that everything in LOLCODE is in all caps.
HAI
I HAS A CHEEZBURGER ITZ 1
IM IN YR LOOP
VISIBLE "I has dis many: " N CHEEZBURGER
IZ CHEEZBURGER BIGGER THAN 11 O RLY?
YA RLY
GTFO
NO WAI
UP CHEEZBURGER!!1
KTHX
KTHX
KTHXBYE