cm0002@lemmy.zip to Programmer Humor@programming.dev · 2 个月前More code = more betterlemmy.zipimagemessage-square94fedilinkarrow-up1667arrow-down116
arrow-up1651arrow-down1imageMore code = more betterlemmy.zipcm0002@lemmy.zip to Programmer Humor@programming.dev · 2 个月前message-square94fedilink
minus-squareArbitraryValue@sh.itjust.workslinkfedilinkEnglisharrow-up88·2 个月前The advantage of that last approach is that it has side effects and cannot therefore be optimized out by the compiler.
minus-squareronigami@lemmy.worldlinkfedilinkarrow-up13·2 个月前That’s only one advantage. In theory it does not necessarily terminate, so that’s another one.
minus-squarejoshchandra@midwest.sociallinkfedilinkEnglisharrow-up2·2 个月前 In theory hypothesis To get pedantic, you’d have to test that out a whole bunch before even coming close to theory level, lol!
minus-squareronigami@lemmy.worldlinkfedilinkarrow-up3·2 个月前We already have a theory for it— called computer science.
The advantage of that last approach is that it has side effects and cannot therefore be optimized out by the compiler.
That’s only one advantage. In theory it does not necessarily terminate, so that’s another one.
To get pedantic, you’d have to test that out a whole bunch before even coming close to theory level, lol!
We already have a theory for it— called computer science.