Re: Feedback on Átila's Vision for D
rikki cattermole
rikki at cattermole.co.nz
Sat Oct 19 09:08:13 UTC 2019
On 19/10/2019 10:00 PM, Walter Bright wrote:
> On 10/18/2019 7:01 AM, Guillaume Piolat wrote:
>> Where is no data or conclusive evidence, there are some anecdotes.
>> - some people with large python codebases, even full-time, tend to
>> tell me that dynamic types don't "scale" that well past 10 kLOC
>> - some problems reveal themselves "at scale". For example in a C++
>> constructor you can leave a filed uninitialized. I've once 2 weeks on
>> such a bug that cascaded in a complicated system. D has .init and
>> would have avoided that.
>> - Java seems to scale exceptionally well thanks to a culture of reuse
>> and comparably simple language
>> I don't think it's all in our heads that some language are more
>> conducive to "scale", whatever that means.
>
> D does have features specifically to help with scaling. Along with what
> you mention:
>
> 1. modules
> 2. lack of a global namespace
> 3. anti-hijacking features
> 4. a very good capability to do encapsulation
> 5. the 'version' declaration
> 6. the 'deprecation' attribute
Don't forget about the 'debug' declaration too!
Highly underutilized that one is, but pretty awesome.
More information about the Digitalmars-d
mailing list