SagXD@lemm.ee to Programmer Humor@programming.dev · 10 months agoI don't believe Auto Save feature in any softwarelemm.eeimagemessage-square106fedilinkarrow-up1864arrow-down123
arrow-up1841arrow-down1imageI don't believe Auto Save feature in any softwarelemm.eeSagXD@lemm.ee to Programmer Humor@programming.dev · 10 months agomessage-square106fedilink
minus-squareQuazarOmegaAlinkfedilinkarrow-up26arrow-down2·10 months agoWe can optimize this further: unsatisfied = true while(unsatisfied) { key.dispatch( Keyboard::Ctrl, Keyboard::s ) } …No, there is no instance where unsatisfied changes state
minus-squareLunya \ she/it@iusearchlinux.fyilinkfedilinkarrow-up4·10 months agoYou should just be able to while(true)
minus-squarehalfway_neko@lemmy.dbzer0.comlinkfedilinkarrow-up4·9 months agoDon’t worry, most modern brains have a builtin jit compiler, so when a habit starts to form, the check will be optimised out. (It saves excess neurons from being generated.)
We can optimize this further:
unsatisfied = true while(unsatisfied) { key.dispatch( Keyboard::Ctrl, Keyboard::s ) }
…No, there is no instance where
unsatisfied
changes stateYou should just be able to
while(true)
It’s a joke.
That sounds like an excuse.
Don’t worry, most modern brains have a builtin jit compiler, so when a habit starts to form, the check will be optimised out. (It saves excess neurons from being generated.)