Reddit: why aren't people using D?

Steven Schveighoffer schveiguy at yahoo.com
Fri Jul 24 12:21:25 PDT 2009


On Fri, 24 Jul 2009 15:12:10 -0400, Ary Borenszweig <ary at esperanto.org.ar>  
wrote:

> Maybe what scares Walter is a whole new syntax for properties. If at  
> least you could say which functions are properties and which are not,  
> that would be a small change and it'll make it possible for other  
> things. Something like:

His point is that there are no benefits to the semantic meaning of the  
code by declaring something a property.  It's still a function, still gets  
implemented by a function.

It's like if you say functions can now be called like this:

foo^arg

But he's not getting that the compiler isn't the only one reading the  
code, and D isn't the only language being used.  You are also using a  
person's knowledge of math (x = y) and a person's native language.  At  
least the native language, the compiler knows and cares nothing about, but  
the developer and user care greatly (and want the conventions enforced).

-Steve



More information about the Digitalmars-d mailing list