proposal: allow 'with(Foo):' in addition to 'with(Foo){..}'
Dicebot via Digitalmars-d
digitalmars-d at puremagic.com
Sun Aug 10 16:31:28 PDT 2014
On Sunday, 10 August 2014 at 23:29:17 UTC, Era Scarecrow wrote:
> On Sunday, 10 August 2014 at 23:16:57 UTC, Dicebot wrote:
>> If this is going to be accepted I will most likely resort to
>> DScanner rule that statically prohibits it, don't like such
>> features. Even "attribute:" syntax can easily result in code
>> obfuscation and should be used with caution - and this one is
>> worse.
>
> Yeah i guess extra complexity for assisting tools
> (auto-completion and the like) need to be considered as well...
I did not mean that extra overhead for tools is a deal breaker -
just that I don't like proposed feature itself strong enough to
resort to external tools to define language subset that prohibits
it, even if it gets accepted upstream.
More information about the Digitalmars-d
mailing list