alphacyberranger@lemmy.world to Programmer Humor@programming.devEnglish · 11 months agoJavalemmy.worldimagemessage-square61fedilinkarrow-up1578arrow-down148
arrow-up1530arrow-down1imageJavalemmy.worldalphacyberranger@lemmy.world to Programmer Humor@programming.devEnglish · 11 months agomessage-square61fedilink
minus-squaresnake_baitman@lemmy.sdf.orglinkfedilinkarrow-up18·11 months agoThe CPU has to do real work to convert between float and int types. Returning an int type would just be giving the CPU extra work to do for no reason
minus-squareNotNotMike@programming.devlinkfedilinkarrow-up3·11 months agoI’m learning so much from this thread and I don’t even use Java
The CPU has to do real work to convert between float and int types. Returning an int type would just be giving the CPU extra work to do for no reason
I’m learning so much from this thread and I don’t even use Java