Hacker News new | past | comments | ask | show | jobs | submit login

1) Resource management: you never have again to risk forgetting a call to "delete/free".

2) Templates: you don't need to resort to a horrible macro mess to implement a type-safe container.

3) Polymorphism: you don't need to manually manage vtables.




I would add namespaces to your list. They're extremely useful to organize entities of a program. No more prefixes to functions and types names.

Also enum classes are pretty useful. Unlike old enums, the labels do not pollute an outer scope.




Consider applying for YC's W25 batch! Applications are open till Nov 12.

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

Search: