DandomRude@lemmy.world to Mildly Infuriating@lemmy.worldEnglish · 14 hours agoLinus Torvalds on a ridiculous job performance metric at tech companies and the prominent figure responsible for itwww.youtube.comexternal-linkmessage-square41fedilinkarrow-up1193arrow-down16
arrow-up1187arrow-down1external-linkLinus Torvalds on a ridiculous job performance metric at tech companies and the prominent figure responsible for itwww.youtube.comDandomRude@lemmy.world to Mildly Infuriating@lemmy.worldEnglish · 14 hours agomessage-square41fedilink
minus-squarefoggy@lemmy.worldlinkfedilinkEnglisharrow-up6·12 hours agoHere’s a very simple example. What’s 3^3? Or, Well it’s 3x3x3 Which is 3+3+3, 3 times. Which is 3+3+3+3+3+3+3+3+3, which is 27. Which solution do we prefer? 3^3 = 27? Or 3+3+3 +3+3+3 +3+3+3 =27? Which one uses more lines?
minus-squareohlaph@lemmy.worldlinkfedilinkEnglisharrow-up4·9 hours agovar three1 = 3 var three2 = three1 … Repeat until 27.
minus-squareChaosMonkey@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up4·10 hours agoI prefer 1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1.
minus-squareChaosMonkey@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up1·17 minutes agoYou’re right, 1*1 line.
Here’s a very simple example.
What’s 3^3?
Or,
Well it’s 3x3x3
Which is 3+3+3, 3 times.
Which is 3+3+3+3+3+3+3+3+3, which is 27.
Which solution do we prefer?
3^3 = 27?
Or
3+3+3
+3+3+3
+3+3+3
=27?
Which one uses more lines?
var three1 = 3
var three2 = three1
…
Repeat until 27.
I prefer 1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1.
That’s only one line.
You’re right, 1*1 line.