Liste des Groupes | Revenir à cl c |
Am 27.08.2024 um 09:37 schrieb David Brown:Any simple one-line claim here is clearly going to be wrong.
But it is also fair to say that abstractions are less than you might see on "big" systems. For systems programming, there is more concern about the efficiency of the results, ...C++ is efficient and abstract in one.
Incorrect. Like most low-level or systems programmers using C++, I have exceptions disabled and never use them.We very rarely see exceptions in this field, but OOP is certainly common now.You have to accept exceptions with C++ since there are a lot of places
where C++ throws a bad_alloc or system_error.
Incorrect.Classes with non-virtual inheritance are basically cost-free, and provideThe virtual function overhead isn't notwworthy and not much more over
structure, safety, encapsulation and flexibility. Virtual functions have
overhead, ...
manual dispatch.
As I said, you can use a lot of abstractions in C programming, but C++ can make many types of abstraction easier, safer, and more efficient.But you certainly can use a range of abstractions in C programming too.C doesn't supply features to have abstractions like in C++.
Feel free to unsubscribe from the Usenet group dedicated to a language you so strongly dislike.I don't think BM's posts are generally good or clear examples of usesC is just too much work.
of C++. And I don't think continuously posting "C++ would be ten times easier" in c.l.c is helpful to anyone.
Les messages affichés proviennent d'usenet.