Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Double doesn't behave like a whole number.

I was suggesting double for your partials, not your whole numbers.

> java only has a single int type, which is 32-bit regardless of machine architecture.

I'm so confused.

You said having a "list of what width each type is" is bad because it forces the user to deal with "minutiae".

But that's exactly what Java does. int is 32 bits, short is 16, long is 64

And then you praise a type in Python that does the same thing as "double" in C. It's usually 64 bits, but it might be something else.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: