SagXD@lemm.ee to Programmer Humor@programming.dev · 9 months agoI don't believe Auto Save feature in any softwarelemm.eeimagemessage-square106fedilinkarrow-up1863arrow-down123
arrow-up1840arrow-down1imageI don't believe Auto Save feature in any softwarelemm.eeSagXD@lemm.ee to Programmer Humor@programming.dev · 9 months agomessage-square106fedilink
minus-squareQuazarOmega@lemy.lollinkfedilinkarrow-up26arrow-down2·9 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·9 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.)