Man... Go could have been so good.

Instead it just takes all the problems that exist in programming and pretend they don't exist.

"How big is an array?" "An int big!" "...a signed int?" "Yeah sure why not." "What happens if your array is 2049 MB long on a 32-bit platform?" "*shrug*"

Srsly, there's 3 types of languages as far as I can tell: those that define a specific size for numerical types, those that let those types be any size, and Go+C.

Cause if C does it it has to be a good idea, right?

I mean... Correct me if this is wrong, I am sleepy. But I can't think of any other languages where your most common number type varies in size as the machine word size changes.

If you have programs that talk over a network it's just begging for trouble.

awavauatush @ninjawedding
@icefox can confirm, except in my most recent case it was a difference in running a program that was built to run on 32-bit armel and 64-bit x86. the amount of crap we defined to avoid this characteristic of C/C++ is very annoying
· Web · 0 · 0