appeal again: discard the syntax of private:, public: static: private{}, public{}, static{}.

xs0 xs0 at xs0.com
Fri Jun 23 02:48:57 PDT 2006


Regan Heath wrote:
> On Fri, 23 Jun 2006 17:05:15 +0800, Boris Wang <nano.kago at hotmail.com> 
> wrote:
>> the harm of these is more than the benefit.
>>
>> all these syntax produce non-readable, non-maintainable codes, and 
>> even more in large project with many developers.
> 
> My vote is against removing these. I use them and prefer the : syntax 
> for private etc within class/struct declarations.

My vote is against having either public: or public {} :)

With both you can't see what applies to a declaration from the 
declaration alone, but have to scan backwards for an arbitrary amount of 
lines..


xs0



More information about the Digitalmars-d mailing list