[Grace-core] collections interface for new classes
James Noble
kjx at ecs.vuw.ac.nz
Thu Dec 10 20:46:18 PST 2015
> On 11/12/2015, at 13:36pm, Andrew P Black <black at cs.pdx.edu> wrote:
>
> I think that space sensitivity is daft.
> And using one rule for the * operator and the opposite rule for the [] operator is dafter.
why? “*” is infix, [] is some kind of subscripting matchfix?
> Spaces around operator symbols do make the expression easier to read when there is only one operator and two operands. But when you have a complex arithmetic expression, the effect is to make it harder to read, because it falls off the end of the line. So this is something that I would rather leave up to the programmer to consider on a case-by-case basis.
doesn’t mandatory indentation have the same effect?
in either case, programmers have to break lines in sensible places, or extract methods
J
More information about the Grace-core
mailing list