Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The crucial difference is that C# is memory-safe by default, and for most code, this is fine. As another commenter said, manual memory management is available as an escape hatch from the garbage collector if you need it.

To extend the Edward Scissorhands analogy, with C#, you can use scissors when you need them, but with C++, your hands are scissors, so you'd better be careful all the time.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: