[M3devel] introducing VAR in more places?
hendrik at topoi.pooq.com
hendrik at topoi.pooq.com
Tue Feb 12 20:13:38 CET 2008
On Tue, Feb 12, 2008 at 02:05:46PM +0000, Jay wrote:
> Agreed!
> C++ vs. WITH, C++ wins by not indenting unnecessarily.
> See that change I was fiddling with in Time.m3 for examle.
>
> Hm. Can we get consensus on a language change? :)
>
> BEGIN VAR a := 1;
> IO.PutInt(a);
> VAR b := 2, (* ? *)
> c := 3; (* ? *)
> IO.PutInt(b);
>
> ? Easier to require "VAR" on each, a bit wordy.
>
> - Jay
That would work. But I'd use CONST more than VAR (if I had a choice)
And I'd like to be able to specify the type. I'm a fanatic about making
types explicit.
-- hendrik
More information about the M3devel
mailing list