Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c++ > #6738
| From | drew@furrfu.invalid (Drew Lawson) |
|---|---|
| Newsgroups | comp.lang.c++ |
| Subject | Re: "namespaces were a mistake" (was: Anonymous namespace) |
| Date | 2011-06-14 12:24 +0000 |
| Organization | Center for Unverified Assertions |
| Message-ID | <it7jt3$v1d$1@raid.furrfu.com> (permalink) |
| References | <is9eqf$ft8$2@reader1.panix.com> <slrnivbgoj.gtj.grahn+nntp@frailea.sa.invalid> <namespaces-20110613165149@ram.dialup.fu-berlin.de> <slrnivcqkc.gtj.grahn+nntp@frailea.sa.invalid> |
In article <slrnivcqkc.gtj.grahn+nntp@frailea.sa.invalid>
Jorgen Grahn <grahn+nntp@snipabacken.se> writes:
>On Mon, 2011-06-13, Stefan Ram wrote:
>> Jorgen Grahn <grahn+nntp@snipabacken.se> writes:
>>>I want the freedom to name things in a straightforward way without
>>>risking clashes with other people's stuff. I don't want to call some
>>
>> Danny Kalev, a member of the C++ standards committee between
>> 1997 and 2000, writes:
>>
>> »namespaces were a mistake«, see
>
>He's free to say so, but plenty of people I respect disagree.
His point seems (to me) to be more that namespaces are not the
ideal they were hoped to be, rather than that namespaces are a bad
thing.
I agree with his main points -- that fully specifying them is tedious
to write and painful to read, and that "using" and the high tendency
to use it is a Bad Thing. (I have the misfortune to be using a
package where the developers put "using" directives in the *headers*
so I have to qualify standard library calls that are in the global
name space.)
They are a useful tool, but I think the culture didn't adapt to
them in the best way.
--
Drew Lawson | Savage bed foot-warmer
| of purest feline ancestry
| Look out little furry folk
| it's the all-night working cat
Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar
Re: Anonymous namespace Jorgen Grahn <grahn+nntp@snipabacken.se> - 2011-06-09 11:26 +0000
Re: Anonymous namespace Ruben Safir <ruben@mrbrklyn.com> - 2011-06-10 04:12 +0000
Re: Anonymous namespace Michael Doubez <michael.doubez@free.fr> - 2011-06-10 01:49 -0700
Re: Anonymous namespace mrbrklyn <ceo.brooklyn@gmail.com> - 2011-06-10 10:34 -0700
Re: Anonymous namespace mrbrklyn <ceo.brooklyn@gmail.com> - 2011-06-10 10:45 -0700
Re: Anonymous namespace Michael Doubez <michael.doubez@free.fr> - 2011-06-12 00:01 -0700
Re: Anonymous namespace ruben safir <ruben@mrbrklyn.com> - 2011-06-13 04:08 +0000
Re: Anonymous namespace Michael Doubez <michael.doubez@free.fr> - 2011-06-13 08:43 -0700
Re: Anonymous namespace Jorgen Grahn <grahn+nntp@snipabacken.se> - 2011-06-10 18:27 +0000
Re: Anonymous namespace ruben safir <ruben@mrbrklyn.com> - 2011-06-13 05:02 +0000
Re: Anonymous namespace Jorgen Grahn <grahn+nntp@snipabacken.se> - 2011-06-13 07:58 +0000
Re: "namespaces were a mistake" (was: Anonymous namespace) Öö Tiib <ootiib@hot.ee> - 2011-06-13 09:56 -0700
Re: "namespaces were a mistake" (was: Anonymous namespace) Jorgen Grahn <grahn+nntp@snipabacken.se> - 2011-06-13 19:52 +0000
Re: "namespaces were a mistake" Miles Bader <miles@gnu.org> - 2011-06-14 13:43 +0900
Re: "namespaces were a mistake" Miles Bader <miles@gnu.org> - 2011-06-15 07:15 +0900
Re: "namespaces were a mistake" Jorgen Grahn <grahn+nntp@snipabacken.se> - 2011-06-15 12:01 +0000
Re: "namespaces were a mistake" (was: Anonymous namespace) drew@furrfu.invalid (Drew Lawson) - 2011-06-14 12:24 +0000
Re: "namespaces were a mistake" (was: Anonymous namespace) gwowen <gwowen@gmail.com> - 2011-06-14 06:00 -0700
Re: "namespaces were a mistake" (was: Anonymous namespace) Joshua Maurice <joshuamaurice@gmail.com> - 2011-06-14 14:10 -0700
Re: "namespaces were a mistake" Miles Bader <miles@gnu.org> - 2011-06-15 06:30 +0900
Re: Anonymous namespace Ruben Safir <ruben@mrbrklyn.com> - 2011-06-27 16:34 +0000
Re: Anonymous namespace Victor Bazarov <v.bazarov@comcast.invalid> - 2011-06-27 14:29 -0400
csiph-web