Shahid:

> I'm wondering what others think about extending the WithStatement to take 
> a colon, which would create an implicit scope similar to how Attributes 
> work. eg:
> 
> T func( ... )
> {
>       with ( Struct ):
>       
>       bar( Enum1.A );
>       ...

If you extend this idea to if/while/for statements too, the end result is a 
Python-D:
http://delight.sourceforge.net/

Bye,
bearophile

Reply via email to