Why is `scope` planned for deprecation?

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Tue Nov 18 15:47:21 PST 2014


On 11/18/2014 1:23 PM, "Ola Fosheim Grøstad" 
<ola.fosheim.grostad+dlang at gmail.com>" wrote:
> I am arguing against the position that it was a design mistake to keep the
> semantic model simple and with few presumptions. On the contrary, it was the
> design goal. Another goal for a language like C is ease of implementation so
> that you can easily port it to new hardware.

The proposals I made do not change that in any way, and if K&R designed C 
without those mistakes, it would have not made C more complex in the slightest.


> VLAs have been available in gcc for a long time. They are not useless, I've used
> them from time to time.

I know you're simply being argumentative when you defend VLAs, a complex and 
useless feature, and denigrate simple ptr/length pairs as complicated.


More information about the Digitalmars-d mailing list