Hacker News new | ask | show | jobs
by _RPM 3781 days ago
general computer architecture like the max size of an integer. High level languages usually abstract this away. How a whole number is represented at the hardware level.
1 comments

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.

If 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.

I'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