// idiom 1
cop[0].goodInPercent = 100;
cop[1].goodInPercent = 0;
// idiom 2
isCrowd = personCounter >= 3;
// idiom 3
insult += injury;
// idiom 4
1: board.draw();
goto 1;
// idiom 5
if (bird[1].feather == bird[2].feather) {
bird[1].flock(bird[2]);
}
// idiom 6
a = getThickness('blood');
b = getThickness('water');
assert(a > b);
// idiom 7
a_spade_a_spade();
// idiom 8
die(1000);
function die(max) {
for (i = 1; i = 4 && time <= 8) {
bird.catch(prey);
}
// idiom 10
while ( rome.fire() ) {
doFiddle();
}
// idiom 11
function getValue(garbage) {
return garbage;
}
// idiom 12
take(salt * .01);
// idiom 13
var here = false;
var there = false;
// idiom 14
if (i == 2) {
tango();
}
// idiom 15
days = 356;
for (day = 1; day <= days; day++) {
if ( random(0,100) <= 50 ) apple++;
}
if (apple <= days) doctor();
// idiom 16
if ( !dogs.sleep() ) {
disturb(dogs);
}
// idiom 17
function tunnel() {
var dark;
for (i = 0; i = 1;
}
// idiom 23
if (cooks >= 3) {
broth = null;
}
// idiom 24
if (a != 'cake') a.eat();
// idiom 25
doesStand = you == me;
// idiom 26
var location = getLocation();
if (location == 'rome') {
do( location.getCitizen() );
} [By Philipp Lenssen | Origin: Idioms in Code (Take a Guess) | Comments]
[Advertisement] Stephen Arnold's in-depth analysis of Google's patent strategy is now available as a download from Infonortics [Advertise here]
-
Related Articles:
- All The Code – New Search Engine for Programmers
... - JavaScript Talk (Video)
... - Why Does Google Obfuscate Their Code?
... - Google’s Code Prettifier
... - Google Code Search Shows Function Outline
... - Can You Guess What This Cartoon Is?
...
Which is the best Search Engine?
Comments (No comments)
Post a comment