Re: Teaching new tricks to an old dog (C++ -->Ada)

From: Martin Krischik (martin_at_krischik.com)
Date: 03/24/05


Date: Thu, 24 Mar 2005 08:20:49 +0100

adaworks@sbcglobal.net wrote:

> C++ continues to evolve, but much of that evolution seems to follow a
> course of shoring up things already in the language that don't quite work
> as one might prefer, or adding a truss here and a buttress there to
> prevent or enable deficiencies in the language; e.g., cast-away const,
> a truly silly addition to the language.

Needed for calling broken functions in 3td party libraries. There are still
libraries around which won't mark unmodified parameters with "const" to be
compatible with older compilers.

I am not saying it's good. And of course the library vendors are just hiding
there laziness behing a "compatiblity" argument:

#if COMPILER_X_VERSION < 2.0
#define const
#endif

Martin

-- 
mailto://krischik@users.sourceforge.net
Ada programming at: http://ada.krischik.com


Relevant Pages

  • Re: Teaching new tricks to an old dog (C++ -->Ada)
    ... > a truly silly addition to the language. ... Needed for calling broken functions in 3td party libraries. ... libraries around which won't mark unmodified parameters with "const" to be ... there laziness behing a "compatiblity" argument: ...
    (comp.lang.ada)
  • [LONG] Re: Why code completion and early error checking are needed
    ... > the programmer who wants such features. ... the guiding principles in the evolution of the c++ language should be ... the problem with this is that ide must first be able to assume ... libraries to find the type declaration. ...
    (comp.lang.cpp)
  • Re: So confused with scheme options
    ... Well known Libraries ... Implementation Extensions ... language, what's an expected library function for most implementations, ... This is the "module" language of PLT, ...
    (comp.lang.scheme)
  • Re: Verbose functional languages?
    ... believe it will be difficult to surpass the practical success of OCaml ... are writing good libraries for it). ... because the language was pushed with marketing money. ... Existing FPL implementations like OCaml and Haskell bask in the glory ...
    (comp.lang.functional)
  • Re: So confused with scheme options
    ... tower of libraries and procedures. ... language, what's an expected library function for most implementations, ... extension of blah or whatever. ... This is the "module" language of PLT, ...
    (comp.lang.scheme)