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


Groups > comp.std.c++ > #210

Re: New syntax proposal for attributes

From Phil Bouchard <philippe@fornux.com>
Newsgroups comp.lang.c++, comp.std.c++, comp.lang.c++.moderated
Subject Re: New syntax proposal for attributes
Date 2011-08-08 23:55 -0600
Organization X-Privat.Org NNTP Server - http://www.x-privat.org
Message-ID <4e3f4f71$1@news.x-privat.org> (permalink)
References <4e3d8b2b$1@news.x-privat.org> <jIqdnYyHL6UJnqLTnZ2dnUVZ8j-dnZ2d@bt.com>

Cross-posted to 3 groups.

Show all headers | View raw


On 8/7/2011 7:58 PM, Francis Glassborow wrote:
>
> On 07/08/2011 20:08, Phil Bouchard wrote:
>>
>> Hello,
>>
>> The new syntax for attributes is horrifying and I would like to
>> propose a new one which is very neat.
>
> That is a matter of opinion. However even if I agreed with you, it is
> almost a year too late. I think most people will become happier with the
> syntax as they get used to it (after all a great number of programmers
> have managed to become accustomed to large amounts of upper case along
> with Hungarian notation, both of which I find much more horrific)

My idea was perhaps wrong because an equal sign might be confused with
it's real purpose if we'd like to attach an attribute to a variable but
I see why attributes are declared between the function name and the
opening parenthesis.  IDEs will make the text more readable I guess.


-- 
[ comp.std.c++ is moderated.  To submit articles, try posting with your ]
[ newsreader.  If that fails, use mailto:std-cpp-submit@vandevoorde.com ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.comeaucomputing.com/csc/faq.html                      ]

Back to comp.std.c++ | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

New syntax proposal for attributes Phil Bouchard <philippe@fornux.com> - 2011-08-07 13:08 -0600
  Re: New syntax proposal for attributes Francis Glassborow <francis.glassborow@btinternet.com> - 2011-08-07 17:58 -0600
    Re: New syntax proposal for attributes Phil Bouchard <philippe@fornux.com> - 2011-08-08 23:55 -0600
  Re: New syntax proposal for attributes BGB <cr88192@hotmail.com> - 2011-08-08 23:54 -0600

csiph-web