IssueRaiser

Most of the C++ features does not require compiler to add anything extra to the binary, there are however some exceptions from this rule,...

Most of the C++ features does not require compiler to add anything extra to the binary, there are however some exceptions from this rule, e.g. exceptions (no pun intended) and RTTI. The biggest problem with using full C++ as C + <small subset of C++ features> is that at some point people will stop writing in C style and start to use STL and design code using C++ idioms. You can probably try to fight this with coding standards, linters and other tools but policing people will require some additional effort.

Posted by mbel on Jul 4, 2015, 11:43 AM

Tags

Related issues

Raise real-world problems, find people facing the same issue, and discuss solutions.5,500 issues0 comments

hackernews (Software)

Most of the C++ features does not require compiler to add anything extra to the binary, there are however some exceptions from this rule,...

mbelJul 4, 2015, 11:43 AM

Most of the C++ features does not require compiler to add anything extra to the binary, there are however some exceptions from this rule, e.g. exceptions (no pun intended) and RTTI. The biggest problem with using full C++ as C + <small subset of C++ features> is that at some point people will stop writing in C style and start to use STL and design code using C++ idioms. You can probably try to fight this with coding standards, linters and other tools but policing people will require some additional effort.

Comments (0)

No comments yet. Start the discussion.

Comment on this issue