anders to Memes@lemmy.ml • 1 year agoThey had avocados rytter.meimagemessage-square5fedilinkarrow-up128arrow-down11file-text
arrow-up127arrow-down1imageThey had avocados rytter.meanders to Memes@lemmy.ml • 1 year agomessage-square5fedilinkfile-text
minus-square@PolandIsAStateOfMind@lemmy.mllinkfedilink5•edit-21 year agoThat’s a basic programming joke Normal people using common syntax would understand it like that: “Get a gallon of milk, and if they have avocados, get 6 avocados” But in programming it would be: “Get a gallon of milk, if a condition “they have avocados” is true, get 6 gallons of milk instead”
That’s a basic programming joke
Normal people using common syntax would understand it like that: “Get a gallon of milk, and if they have avocados, get 6 avocados”
But in programming it would be: “Get a gallon of milk, if a condition “they have avocados” is true, get 6 gallons of milk instead”
@10_0 @PolandIsAStateOfMind
Very good explanation 👍