Re: [rust-dev] Grouping declarations

2013-04-16 Thread John Clements
On Apr 16, 2013, at 3:28 AM, John Mija wrote: > Since the low level libraries usually have many constants, it would be great > whether multiple constants and variables could be grouped using parenthesis. > > Now: > > static a = 1; > static b = 35; > static c = 120; > > Using parenthesis: > >

Re: [rust-dev] Grouping declarations

2013-04-16 Thread Daniel Micay
On Tue, Apr 16, 2013 at 6:40 AM, John Mija wrote: > That way (a) does not allow comment out a declaration *easily* and (b) it is > not useful for more than 10 or 20 multiple declarations. > > static ( > a = 1; > //b = 35; > c = 120; > ) > > so the code will always be clearer > > vs > >

Re: [rust-dev] Grouping declarations

2013-04-16 Thread John Mija
That way (a) does not allow comment out a declaration *easily* and (b) it is not useful for more than 10 or 20 multiple declarations. static ( a = 1; //b = 35; c = 120; ) so the code will always be clearer vs static a=1, /*b=35,*/ c=120; El 16/04/13 11:33, Alex Bradbury escribió:

Re: [rust-dev] Grouping declarations

2013-04-16 Thread Alex Bradbury
On 16 April 2013 11:28, John Mija wrote: > Since the low level libraries usually have many constants, it would be great > whether multiple constants and variables could be grouped using parenthesis. > > Now: > > static a = 1; > static b = 35; > static c = 120; > > Using parenthesis: > > static ( >

[rust-dev] Grouping declarations

2013-04-16 Thread John Mija
Since the low level libraries usually have many constants, it would be great whether multiple constants and variables could be grouped using parenthesis. Now: static a = 1; static b = 35; static c = 120; Using parenthesis: static ( a = 1; b = 35; c = 120; ) __