Red to linuxmemesEnglish • 10 months agoCode interviews for a PHP developer rolesreddthat.comimagemessage-square127fedilinkarrow-up1350arrow-down122
arrow-up1328arrow-down1imageCode interviews for a PHP developer rolesreddthat.comRed to linuxmemesEnglish • 10 months agomessage-square127fedilink
minus-squarehopelink9•10 months agoIs it? I would expect someone to come up with either toggling a variable back and forth for even/odd, or counting by 2s, heck, treat it as a floating point, divide by two, and search the string representation for a period or something!
minus-square@[email protected]linkfedilink1•10 months agoI feel like the floating point suggestion would backfire quickly due to imprecisions.
Is it? I would expect someone to come up with either toggling a variable back and forth for even/odd, or counting by 2s, heck, treat it as a floating point, divide by two, and search the string representation for a period or something!
I feel like the floating point suggestion would backfire quickly due to imprecisions.