Friday, September 26, 2008

LOLCODE


I guess you all saw this already but I ROTFandL'edMAO when I read this code for streaming a file to the console, and handling a file not found exception, from LOLCODE.


HAI
CAN HAS STDIO?
PLZ OPEN FILE "LOLCATS.TXT"?
AWSUM THX
VISIBLE FILE
O NOES
INVISIBLE "ERROR!"
KTHXBYE



On a more bizzarre note seems like this is catching on... http://googletesting.blogspot.com/2008/09/tott-mockin-ur-objectz.html

KTHXBYE, Dnny.

-- update

Lolcode btr thn Regex...

LOLCODE version....

HAI
HAS I A PC?
KTHXBYE

Regex version....

^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$


WTF, no brainer!


Comments:

blog comments powered by Disqus

I know nothing, I'm not a fortune teller, and you'd be insane to think that I am. This disclaimer was cribbed from an email footer I once received. It is so ridiculous I had to have it for myself.

Statements in this blog that are not purely historical are forward-looking statements including, without limitation, statements regarding my expectations, objectives, anticipations, plans, hopes, beliefs, intentions or strategies regarding the future. Factors that could cause actual results to differ materially from the forward looking statements include risks and uncertainties such as any unforeseen event or any unforeseen system failures, and other risks. It is important to note that actual outcomes could differ materially from those in such forward-looking statements.

Danny Angus Copyright © 2006-2013 (OMG that's seven years of this nonsense)