Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #13141

Re: plz xplain behavior of const_cast

From Ian Collins <ian-news@hotmail.com>
Newsgroups comp.lang.c++
Subject Re: plz xplain behavior of const_cast
Date 2012-01-06 11:38 +1300
Message-ID <9mmn2pFdr5U2@mid.individual.net> (permalink)
References <99gag79ess5jgiiap1da1ggotvh8sv55is@4ax.com> <je3l5m$12g$1@dont-email.me> <b75672b2-04e7-4002-8655-b27d2b3f497c@o14g2000vbo.googlegroups.com> <je57i1$4af$1@dont-email.me>

Show all headers | View raw


On 01/ 6/12 11:17 AM, Alf P. Steinbach wrote:
> On 05.01.2012 13:00, gwowen wrote:
>
>> So compile-time constants tend to be capitals. Then that convention
>> tends to leak across to C++ due to the similarity of the languages and
>> the identical use cases.
>
> Hm, I don't think there are really many who start out with C and migrate
> up. Rather they migrate sideways/down from Java and C#. They don't pick
> up all these weird inheritance patterns and singletons and abstract
> factories and managers and whatnot in C, I think.

I think you would be surprised Alf.  Most of the aspirational C++ 
programmers I work with or coach are embedded C programmers looking to 
make the next step.

-- 
Ian Collins

Back to comp.lang.c++ | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

plz xplain behavior of const_cast Heck <heckja_in@ordertostymieharvestersverizon.net> - 2012-01-05 02:01 -0500
  Re: plz xplain behavior of const_cast Christian Gollwitzer <auriocus@gmx.de> - 2012-01-05 08:53 +0100
  Re: plz xplain behavior of const_cast "Alf P. Steinbach" <alf.p.steinbach+usenet@gmail.com> - 2012-01-05 08:57 +0100
    Re: plz xplain behavior of const_cast gwowen <gwowen@gmail.com> - 2012-01-05 04:00 -0800
      Re: plz xplain behavior of const_cast "Alf P. Steinbach" <alf.p.steinbach+usenet@gmail.com> - 2012-01-05 23:17 +0100
        Re: plz xplain behavior of const_cast Ian Collins <ian-news@hotmail.com> - 2012-01-06 11:38 +1300
        Re: plz xplain behavior of const_cast Gareth Owen <gwowen@gmail.com> - 2012-01-06 06:33 +0000
        Re: plz xplain behavior of const_cast Nick Keighley <nick_keighley_nospam@hotmail.com> - 2012-01-06 00:46 -0800
          Re: plz xplain behavior of const_cast gwowen <gwowen@gmail.com> - 2012-01-06 03:19 -0800
        Re: plz xplain behavior of const_cast Jorgen Grahn <grahn+nntp@snipabacken.se> - 2012-01-07 06:38 +0000
          Re: plz xplain behavior of const_cast 88888 Dihedral <dihedral88888@googlemail.com> - 2012-01-07 03:53 -0800
      Re: plz xplain behavior of const_cast Juha Nieminen <nospam@thanks.invalid> - 2012-01-06 09:14 +0000
  Re: plz xplain behavior of const_cast Goran <goran.pusic@gmail.com> - 2012-01-04 23:55 -0800
  Re: plz xplain behavior of const_cast jt@toerring.de (Jens Thoms Toerring) - 2012-01-05 09:04 +0000
  Re: plz xplain behavior of const_cast Heck <heckja_in@ordertostymieharvestersverizon.net> - 2012-01-05 09:36 -0500

csiph-web