Am Thu, 9 Oct 2014 12:27:11 +0200
schrieb Johannes Pfau <[email protected]>:

> Am Thu, 09 Oct 2014 10:50:44 +0200
> schrieb Martin Nowak <[email protected]>:
> 
> 
> > Would this affect your code?
> Most old code, yes. I used to write all attributes on the left hand
> side, but switched to right hand side some time ago. 
> 
> > Do you think it makes your code better or worse?
> Probably better, although I tried to be careful with the left hand
> side attributes so it shouldn't change to much.
> 
> > Is this just a pointless style change?
> > Anything else?
> Code will probably look nicer, but I'm not sure if it's consistent.
> with const(int) it's obvious that the return value is const. With
> const int abcd() @safe
> this might be less obvious.
> 
> Also fixing old code manually would be very tedious.
> 

Forgot to some overall I'm for this change. I'd just like some
automated way to fix old code ;-)

Reply via email to