Hacker News new | ask | show | jobs
by pubby 788 days ago
I mean it depends on the project and scope, but if you just write C-style code but use unique_ptr, vector, string, and <algorithm>, you're already at an advantage.
2 comments

I would recommend replacing macros with constexpr to allow type checking.
Yeah and auto. Unique pointers really make one think about ownership.