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:
> 
> static (
>    a = 1;
>    b = 35;
>    c = 120;
> )

The macro system should be able to handle this. I'm not saying it can, just 
that it should.

More generally, I think I would offer you this RnRS quote:

"Programming languages should be designed not by piling feature on top of 
feature, but by removing the weaknesses and restrictions that make additional 
features appear necessary."

John


_______________________________________________
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to