cm0002@lemmy.zip to Programmer Humor@programming.dev · 3 days agoMore code = more betterlemmy.zipimagemessage-square91fedilinkarrow-up1634arrow-down115
arrow-up1619arrow-down1imageMore code = more betterlemmy.zipcm0002@lemmy.zip to Programmer Humor@programming.dev · 3 days agomessage-square91fedilink
minus-squareArbitraryValue@sh.itjust.workslinkfedilinkEnglisharrow-up84·3 days agoThe advantage of that last approach is that it has side effects and cannot therefore be optimized out by the compiler.
minus-squareronigami@lemmy.worldlinkfedilinkarrow-up11·2 days agoThat’s only one advantage. In theory it does not necessarily terminate, so that’s another one.
minus-squarejoshchandra@midwest.sociallinkfedilinkEnglisharrow-up1·15 hours ago In theory hypothesis To get pedantic, you’d have to test that out a whole bunch before even coming close to theory level, lol!
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!