Comment

Comment by astrodust

Writing C++ properly requires an entirely different mind-set to writing in "fancy C" using a C++ compiler. Bitching about exceptions is a sign you don't know what you're talking about, or your expectations are culturally incompatible with the language you're using. When you call a method, you must be aware of what exceptions it could throw and handle those you're interested in from. Ignore this at your own peril.

Return codes in C are easily ignored even if they're serious. In C++ you are compelled to deal with error conditions even if your action is to ignore them. This is a fundamental philosophical difference.

Better title: "Why I should've learned C++ thoroughly before writing ZeroMQ".

parent astrodust 13 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton