Hacker News new | ask | show | jobs
by dorfuss 3784 days 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.

2 comments

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