Note: This page uses the convention of using LOL as a block terminator.
O NOES! error_string_or_exception_object
Acceptable synonyms: OH NOES!, ONOZ!, etc.
OMG code_to_attempt WTF exception_type? exception_handling WTF another_exception? more_exception_handling BBQ no_exceptions_were_caught SRSLY code_to_run_no_matter_what LOL
(Oops, forgot to sign my work.)
— Geordan Rosario, 2007/05/30 20:41
Best use of SRSLY I've seen yet. — Isaac, 2007/05/30 18:43
Keep it! Well, with “KTHX” instead of LOL… I still think it should be the universal close-curly brace
— Kyle, 2007/05/30 18:50
I think the throw should be DO NOT WANT, and O NOES should be the analog to catch. I like SRSLY for finally, though. Genius!
— Mark, 2007/05/30 18:43
Slight modification suggestion:
AFAIK code_to_attempt ... OMG exception_type "u suck msg" ... WTF exception_type? exception_handling WTF another_exception? more_exception_handling BBQ no_exceptions_were_caught SRSLY code_to_run_no_matter_what KTHX
— Will, 2007/05/30 21:44
Agreed that this is the best possible use of SRSLY.
I think DO NOT WANT lends itself to 'catch', because it works best with parameters (do not want this… do not want that).
OMG is great for 'throw', so how about WTF for 'try'?
— Garoo, 2007/05/31
WTF doesn't make much sense as 'try'. Something has “already happened” when you say WTF. That's why I like AFAIK for 'try', read as: “as far as I know [this should work].”
I thought about using ITYS instead of KTHX, but that doesn't make sense if we had a WTF (something caught) and generally KTHX is a great end-block keyword. Maybe in place of BBQ if that finds a better use.
— Will, 2007/06/07