22.12.2014, 21:24
(
Последний раз редактировалось Crayder; 23.12.2014 в 04:35.
Причина: Added some details!
)
Well, we see them everywhere, hear them too. For example I say "If at first you don't succeed, try again.", in code that would be like this:
I wanna see what you guys can all compile here. I know a few more like this:
Like none of those (except the first two) would accomplish anything in pawn. You should list as many as you can from any language known. You could also tell us what language it is so we know why it works and what it is supposed to say.
pawn Код:
while(!(succeed=try()));
pawn Код:
if(LifeGivesYou == lemons) MakeLemonade(); //When life gives you lemons, make lemonade.
if (glass.getLevel() == 0.5) //This is a joke, get it? XD
throw new ContainerTooLargeException(glass + " is twice as big as it needs to be.");
You=true;function BigBrother(){};BigBrother.isWatching=function(y){return y};
BigBrother.isWatching(You) //What's my big brother doing? o.O
Power=a=means=it=an=end=0
Power is not (a, means, it is (an, end)) //"Power is not a means; it is an end." -George Orwell
war=peace=freedom=slavery=ignorance=strength=0
war is peace|freedom is slavery|ignorance is strength //"War is Peace; Freedom is Slavery; Ignorance is Strength;" -INGSOC (also George Orwell)
dont = []; y = 1
dont.count + y or ('chickens'.before('they hatch')) //Don't count your chickens before they hatch! (another idiom)
$all = array('not well', 'not well', 'not well', 'well'); //All is well! (Just a saying)
$end = array_pop($all);
$all = ($end == 'well') ? $end : 'not well';
return true;
assert(life != fair); //Life is not fair. (An opinion of some)
return (Do || !Do) || (there == !try); //"Do. Or do not. There is no try." -Yoda (SW)
//One of my favorites:
return 2 * be || !(2 * be); //"To be or not to be." -Shakespeare (i think, Hamlet right?)


