|
by Eric Lippert via Fabulous Adventures In Coding on 9/7/2011 5:58:00 PM
Well that was entirely predictable; as I said last time, if you ask ten developers for a definition of "type", you get ten different answers. The comments to the previous article make for fascinating reading!
Here's my attempt at describing what "type" means to me as a compiler writer. I want to start by considering just the question of what a type is and not confuse that with how it is used.
Fundamentally, a type in C# is a mathematical entity that obeys certain algebraic rules, just as natura
... [ read more ]
|
|