Y
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
roeles
786 days ago
I would recommend replacing macros with constexpr to allow type checking.
link
hnthrowaway0328
786 days ago
Yeah and auto. Unique pointers really make one think about ownership.
link