3 ms·
Genuine question - when would you need to know the int size? When do you think knowing how negative numbers are represented in binary would help a web developer
by dorfuss 11y ago
Genuine question - when would you need to know the int size? When do you think knowing how negative numbers are represented in binary would help a web developer? Seriously curious.
Edit: sure it's good to know, but that's another question.
- _RPM 11y agoIf you're building a programming language and you arthimetic operations. You would need to handle the case of overflow and underflow. Edit: a Web Developer doesn't need to know it but it's most likely part of a CD curiculem.
- rnovak 11y agoI'm sorry, but do you just disregard overflow in your applications? Just because software is on the web, doesn't mean it doesn't have to care about logic errors