Topic: Namespaces (was ANSI C++ Public Comments)


Author: "Ronald F. Guilmette" <rfg@rahul.net>
Date: 1995/05/14
Raw View
In article <GOODSE_J.95May9151455@faceplant.motsat.sat.mot.com>,
John Goodsen <goodse_j@faceplant.motsat.sat.mot.com> wrote:
>In article <3o8ld5$oma@offas_dike.sbil.co.uk> shepherd@debussy.sbi.com (Marc Shepherd) writes:
>
>   By contrast, namespaces are a creation out of thin air.  This is not
>   to say that they don't address a legitimate need--only that there is
>   little real-world C++ experience with anything at all resembling namespaces.
>
>Ada packages are very close to namespaces in C++...

Wrong.

Ada packages are one of the fundamental units of separate compilation.
C++ namespaces are essentially unrelated to separate compilation.
--

-- Ron Guilmette, Sunnyvale, CA ---------- RG Consulting -------------------
---- E-mail: rfg@segfault.us.com ----------- Purveyors of Compiler Test ----
---- finger: rfg@rahul.net ----------------- Suites and Bullet-Proof Shoes -





Author: goodse_j@faceplant.motsat.sat.mot.com (John Goodsen)
Date: 1995/05/09
Raw View
In article <3o8ld5$oma@offas_dike.sbil.co.uk> shepherd@debussy.sbi.com (Marc Shepherd) writes:

   By contrast, namespaces are a creation out of thin air.  This is not
   to say that they don't address a legitimate need--only that there is
   little real-world C++ experience with anything at all resembling namespaces.

Ada packages are very close to namespaces in C++.  This added level of
packages is extremely valuable in large scale projects.  Namespaces are
just as valuable in large scale C++ projects, IMHO.
--
--
John Goodsen                         Currently On-Site:
Rapid Engineering Specialist           Motorola Satellite Communications
The Dalmatian Group, Inc.              Phoenix, AZ
jgoodsen@dalmatian.com                 Todays Weather:  Getting Hotter ;-)