What should I read to improve my C++ style

Posted by Victor Ronin on Stack Overflow See other posts from Stack Overflow or by Victor Ronin
Published on 2011-02-04T23:15:15Z Indexed on 2011/02/04 23:25 UTC
Read the original article Hit count: 232

Filed under:
|

I was developing for quite long time already on C/C++ (mostly C, which makes style poorer). So, I know how to use it. However, quite often I stuck with style decisions like: - should I return error code here, throw exceptions, return error through a parameter - should I have all this stuff in constructor or should I create separate init function for that. and so on.

Any solutions WILL work. However, each of them has cons and pros, which I know and most importantly which I don't know.

It would be very nice to read something regarding overall C++ development style, coding practices and so forth. What do you recommend?

© Stack Overflow or respective owner

Related posts about c++

Related posts about coding-style