-
G. Do, do not. There is no try.
How many different geeky ways are their to say that?
Ruby:
[ "do", "do not" ].include? "try" => falseRuby:
"do".include? "try" or "do not".include? "try" => falseBash:
$DO || ! $DO; try -bash: try: command not foundI could probably spend 20-30 and figure out how to do this in PERL, Python, PHP, etc. but I want to see if you all out there have them on the top of your head.
Edit: Adding a few thanks to hackedy.
Python:
>>> "try" in ["do", "do not"] >>> FalseHaskell:
"try" `elem` ["do", "do not"] => FalseClojure:
(do (or 'do-not try)) java.lang.RuntimeException: Unable to resolve symbol: try in this context -
-
molecules0de liked this
-
ticlesbase09 liked this
-
nesmithwc86 liked this
-
victimms9 liked this
-
nickthejam liked this
-
hackedy reblogged this from f2h1gg and added:
this has been fun, I’ll be here all week folks
-
f2h1gg posted this
-