View Single Post
Posts: 726 | Thanked: 345 times | Joined on Apr 2010 @ Sweden
#152
Originally Posted by attila77 View Post
This is the out-of-thin-air generalization that makes makes even your good points look bad. D has pointers. C# has pointers. Hell, even Google's brand spanking new Go language has pointers.
Just to add a tiny nuance: C# offers pointers if you agree to be on your own, taking full responsibility for it all.

And when you do, optimizing the code gets harder (for the more interesting cases than just slipping a pointer to a native library call).

If you stay away from such endeavours, C# is not offering any pointers for the programmer to use.

With the usual AFAIK disclaimer.
 

The Following User Says Thank You to Joorin For This Useful Post: