comp.lang.ada
 help / color / mirror / Atom feed
From: Olivier Henley <olivier.henley@gmail.com>
Subject: Re: C++ diaries...
Date: Fri, 7 Jun 2019 16:27:03 -0700 (PDT)
Date: 2019-06-07T16:27:03-07:00	[thread overview]
Message-ID: <736607f3-bb1b-4f52-b517-bcc04a43acd9@googlegroups.com> (raw)
In-Reply-To: <b8517694-db63-4109-a01f-f9bafb6cba36@googlegroups.com>

> The clash is because in C and C++ the identifiers in the enum are essentially global, if each enum was in a separate namespace, it would work. 

Yes. But they read as namespace, class, enum or enum choice: 

Whatever::Another::Thing

Whatever is a namespace, or a class?
Another is a namespace, a class or an enum?
Thing is a namespace, a class, an enum or an enum choice?

All this make up for some heavily 'booby-trapped' semantic.

> This is what happens when people "design" crap languages.

I could not agree more.


      reply	other threads:[~2019-06-07 23:27 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-06 16:32 C++ diaries Olivier Henley
2019-06-06 16:54 ` Olivier Henley
2019-06-07  7:32   ` Maciej Sobczak
2019-06-07 17:55     ` Olivier Henley
2019-06-07 18:22       ` Keith Thompson
2019-06-07 23:04         ` Olivier Henley
2019-06-07 23:09         ` Keith Thompson
2019-06-07 18:29       ` Lucretia
2019-06-07 23:27         ` Olivier Henley [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox