Focus

deadalnix deadalnix at gmail.com
Mon Jan 21 06:46:51 PST 2013


On Monday, 21 January 2013 at 14:34:50 UTC, eles wrote:
> Just think about Andrey as being such C++ programmer that gave 
> D a try and ran away. Why? Because it was puzzled to see that, 
> despit being "private", the attribute is "public" (well, to 
> some degree).
>
> His first thought was that D should not be used into production 
> environment.
>
> OK? Andrey is one C++ programmer that you lose, you cannot 
> convert him to D. Does D afford that?

That is completely backward. D and C++ have very different needs 
in terms of visibility of symbols, especially if you think about 
the fact that namespace introduction in C++ come after visibility 
qualifiers. D have a module system that make the requirement very 
different.

Every time you change something people are used too, they get 
scared. Someone scared by a change they don't understand will not 
use D anyway. Given another behavior of private more C++ 
compliant, it is very likely that Andrey would have find 
something else to be scared of.


More information about the Digitalmars-d mailing list