4 ms·
You are telling the compiler: Set aside a chunk of memory x. Use the details you call X for operations with it. The computer itself doesn't know anything abou
by sophacles 3y ago
You are telling the compiler:
Set aside a chunk of memory x. Use the details you call X for operations with it.
The computer itself doesn't know anything about types or anything else - its just some detail for the compiler to use while generating instructions.
A type isn't a thing - it's not an object. It's just a set of constraints that detail valid and invalid uses for the variable.
- agalunar 3y agoWe may simply differ here – for me, types are as real as objects. Or, perhaps more accurately, types are as illusory as objects ^_^