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++
To go with Go or C/C++?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Reply to thread
Message
[QUOTE="Stefan Ram, post: 5090587"] I am not sure about this. For example, exceptions introduce so many hidden paths into a seemingly simple piece of code in C++. [URL]http://www.gotw.ca/gotw/020.htm[/URL] In C, one can write if( f = fopen( "file", "r" )){ use( f ); close( f ); } , i.e., apply the well-established style of structured programming. Without exception, we do not need no RAII, we can assert that »close« will be executed iff the file was opened successfully. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C++
To go with Go or C/C++?
Top