ciplogic / fheroes2enh

Free Heroes 2 - Enhanced
Other
135 stars 19 forks source link

Why do we need C++14? #31

Closed ihhub closed 5 years ago

ihhub commented 5 years ago

The project uses C++14, what's the real need for it? Is C++11 not enough?

ciplogic commented 5 years ago

C is enough. My hope and assumption is that most people in 10 years from now would code in C++ 20 or similar, and will not look into contributing into C++ 03 or 11 coding because is "so old school".

I didn't use C++ 17 yet as compilers are not mature enough.

But yes, C++ 14 doesn't make the code amazingly more readable because C++ 14 is basically 11 with very small bug fixes.