qaz@lemmy.world to Programmer Humor@programming.devEnglish · 2 days agoWho cares about time complexitylemmy.worldimagemessage-square68fedilinkarrow-up1431arrow-down12
arrow-up1429arrow-down1imageWho cares about time complexitylemmy.worldqaz@lemmy.world to Programmer Humor@programming.devEnglish · 2 days agomessage-square68fedilink
minus-squareBlackEco@lemmy.blackeco.comlinkfedilinkarrow-up3arrow-down1·1 day agoDepending on the language, you may be mutating the input value, which isn’t great.
minus-squareqaz@lemmy.worldOPlinkfedilinkEnglisharrow-up2·1 day agoI’m pretty sure it’s Java (due to the syntax and Eclipse editor default color scheme), so that isn’t an issue
minus-squareBlackEco@lemmy.blackeco.comlinkfedilinkarrow-up2·edit-21 day agoOh right, my Java is a bit rusty. But if it was Javascript, that would have been a problem.
Depending on the language, you may be mutating the input value, which isn’t great.
I’m pretty sure it’s Java (due to the syntax and Eclipse editor default color scheme), so that isn’t an issue
Oh right, my Java is a bit rusty. But if it was Javascript, that would have been a problem.