T
tonytech08
Very recently, I started a thread enquiring about the C++ object
model. All that remains in my mind about that thread is: "why would
you want to do that?", and "it's not portable" and probably other
irrelevancy (read, no real answers). I spoke of "Lightweight" vs.
"Heavyweight" objects. And of "representation in memory of an object"
as important.
Well guess what? I stumbled upon some C# description pages of structs,
classes and the like. Guess what? What seems to be in this NG as
"don't do that" and "non-portable", a multi-billion dollar company is
implementing their language in seeming lockstep to my preponderances
here.
Look it up: C# recognizes "lightweight" classes (structs) as relevant.
C# recognizes struct layout as relevant.
I'm not saying "I told you so". I'm also not saying C# is the way to
go. Just like where I began, searching for that simply elegant
language that C++ is not. I hope for something better (I'd do it
myself if I was young).
model. All that remains in my mind about that thread is: "why would
you want to do that?", and "it's not portable" and probably other
irrelevancy (read, no real answers). I spoke of "Lightweight" vs.
"Heavyweight" objects. And of "representation in memory of an object"
as important.
Well guess what? I stumbled upon some C# description pages of structs,
classes and the like. Guess what? What seems to be in this NG as
"don't do that" and "non-portable", a multi-billion dollar company is
implementing their language in seeming lockstep to my preponderances
here.
Look it up: C# recognizes "lightweight" classes (structs) as relevant.
C# recognizes struct layout as relevant.
I'm not saying "I told you so". I'm also not saying C# is the way to
go. Just like where I began, searching for that simply elegant
language that C++ is not. I hope for something better (I'd do it
myself if I was young).