http://lolcode.com/
The scary thing is that there's even a working compiler for this.
http://lolcode.com/
The scary thing is that there's even a working compiler for this.
took me 30 seconds to spot the first bug in one of their examples
is either a bug that would print both big number and littel number in teh case of a buig number, or else they are not specifying that a new case implies KTHX for the previous case.Code: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
so the code shoudl be
yay I just picked up a new language LOLXORZIHAVEALAZERGUNPEWPEWCode:HAI CAN HAS STDIO? I HAS A VAR GIMMEH VAR IZ VAR BIGGER THAN 10? YARLY BTW this is true VISIBLE "BIG NUMBER!" KTHX NOWAI BTW this is false VISIBLE "LITTLE NUMBER!" KTHX KTHXBYE
shame shame shame
Actually, I think someone already mentioned this a while ago.
The fact that there's a lolcode for dummies enhances the viciousness of circle.
I don't like that N is an operator. I frequently use it as a looping variable, myself.
Sent from my iPad®
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
Doubtful . . . the only two threads that turn up when you search the boards for "lolcode" are this current one and this one: http://cboard.cprogramming.com/showthread.php?t=91127Actually, I think someone already mentioned this a while ago.
Although it's not about the programming language lolcode, it's still rather amusing.
dwk
Seek and ye shall find. quaere et invenies.
"Simplicity does not precede complexity, but follows it." -- Alan Perlis
"Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
"The only real mistake is the one from which we learn nothing." -- John Powell
Other boards: DaniWeb, TPS
Unofficial Wiki FAQ: cpwiki.sf.net
My website: http://dwks.theprogrammingsite.com/
Projects: codeform, xuni, atlantis, nort, etc.
That has to be the dumbest language I've seen. I almost like VB more than lolcode.
At least the Shakespeare language as got some style about it
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
Now cats can program.
As well as dogs, and the occasional hampster.Originally Posted by indigo0086
M.Eng Computer Engineering CandidateB.Sc Computer Science
Robotics and graphics enthusiast.
>hampster
hamster.
Not to mention ants! Teamwork all the way!
Give me enough ants, and I can program that computer!http://thinkexist.com/quotation/give...on/220792.html
dwk
Seek and ye shall find. quaere et invenies.
"Simplicity does not precede complexity, but follows it." -- Alan Perlis
"Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
"The only real mistake is the one from which we learn nothing." -- John Powell
Other boards: DaniWeb, TPS
Unofficial Wiki FAQ: cpwiki.sf.net
My website: http://dwks.theprogrammingsite.com/
Projects: codeform, xuni, atlantis, nort, etc.
Then perhaps its a deficiency in the specification, becasue there is no terminator for the YARLY(TRUE) condition. In C this is explicitly done by both the endign bracket } and the subsequent else keyword. As I said, the NOWAI keyword may in fact be used as the terminator, but this behavior is not specified.