3 ms·
How to Stay Sane with Modern C++
- 37ef_ced3 6y agoUse Go (golang) instead, if you can Go is like a modern C: simple and effective Go fixes C's well-understood flaws (declaration resembling use, unintuitive operator precedence, unrestricted address math, silent casting, zero-terminated strings, etc.) Go puts essential C idioms directly into the language (pointer/length is formalized as slices, packages are part of the language instead of just being naming convention, etc.) The longer you use C++, the more you despise it. But C has always remained a pleasure, and Go is a continuation/modernization/enhancement of that Happy holidays