4 comments

[ 3.5 ms ] story [ 24.9 ms ] thread
Not to deny that this has a legitimate use in graphics and stuff I don't know about...

But I suspect I will see this misused more often than used correctly, when penny-wise and pound-foolish programmers feel, absent any performance or memory issue, that they don't "need" a float or double. Kind of like how when people are new to programming they often reach for uints when they "don't need negative numbers" and then get surprised-pikachu-face when their sanity checks for (x - y >= 0) are always true.

What would the underlining CLR type be?

I think they could have spent the time developing more interesting features (maybe borrow some functional concepts from F# and Haskell) rather than this

This is the kind of stuff that helps to stay in .NET instead of having to get hold of C++.

I am glad they introduced it, just would like to have had a C# type alias to go alongside it.