Hacker News new | past | comments | ask | show | jobs | submit login

Thankfully Python fixed that discrepancy about 3/2

Anyhow, I don't agree with you: I think that getting a bug years down the road due to a too small numeric type is something that the programming language itself should avoid.... not because "developers don't ought to know it", but because mistakes happen

Anyhow, even with a dynamically typed programming language like Python or Javascript you can care about the size of your numbers.

Just import the array module (in Python) or use the Int32Array/Int8Array/etc. types (in Javascript)




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: