qaz@lemmy.world to Programmer Humor@programming.devEnglish · 6 months agoWho cares about time complexitylemmy.worldimagemessage-square45linkfedilinkarrow-up1325arrow-down11
arrow-up1324arrow-down1imageWho cares about time complexitylemmy.worldqaz@lemmy.world to Programmer Humor@programming.devEnglish · 6 months agomessage-square45linkfedilink
minus-squarebalsoft@lemmy.mllinkfedilinkarrow-up27·6 months agoI think it depends; some smart code is good actually, think 0x5f3759df. As long as you properly document it and leave plenty of comments. This one is not smart though, at best it’s what I would call witty.
minus-squaretheunknownmuncher@lemmy.worldlinkfedilinkarrow-up17arrow-down2·6 months agoI’d accept that “smart code” and “clever code” are 2 different things
I think it depends; some smart code is good actually, think 0x5f3759df. As long as you properly document it and leave plenty of comments. This one is not smart though, at best it’s what I would call witty.
I’d accept that “smart code” and “clever code” are 2 different things
Fast inverse square root eh?