Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
C++
Mozilla C++ programming practices
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Ivan Vecerina, post: 1510896"] Most of those seem acceptable to me, the main exception being "testing the return value of new for null". But this may have been justified by the non-conformance of some C++ platforms until few years ago. The initialization syntax is a matter of taste. Then there is the portability guidelines... As their name implies, these guidelines are about portability. I am finally in a situation where the C++ compilers I use are all nearly conformant, and support templates correctly (well, template export aside...). But this wasn't the case 3 years ago. I would agree that it might be time to modernize some of these guidelines now, but that debate would best be brought to one of the Mozilla mailing lists. Many projects still demand that code be written in plain C (no C++), for the sake of portability, so in a way Mozilla has a relatively "modern" approach ;) Cheers, Ivan [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C++
Mozilla C++ programming practices
Top