This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Using C++ in GCC is OK


åææ wrote:
On Mon, May 31, 2010 at 6:41 PM, Robert Dewar <dewar@adacore.com> wrote:

It's a pity to exclude namespaces, the advantage of breaking the
single-big-namespace model are evident.

Yes, the advantage of namespace is obvious.


But, I think namespace is just a syntax sugar. You can name your
variables, functions, classes properly  to  "avoid" it.

All of OO is just syntactic sugar :-) You can mimic anything in C, the point is that it obscures the code, this kind of naming obscures the code, so it is better avoided.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]