[Grace-core] Comment from Andrew

James Noble kjx at ecs.vuw.ac.nz
Wed Dec 8 02:34:17 PST 2010


On 8/12/2010, at 09:44 AM, Andrew P. Black wrote:
>
> i think it's the kjx argument: we have to think about what Grace  
> will look like in books, and on slides, as well as in the IDE.

:-)

> i don't think that it works because, for me, { is visually too  
> lightweight.  end do balances the do much better than { to me.   
> Maybe this is just an "old fogies" problem: those of us who grew up  
> with begin ... end and if ... fi can't get used to { }.  BCPL used  
> section brackets, but it allowed the programmer to tag them so that  
> it was clear which closing bracket closed which opening bracket.

in terms of readability - yes I fear it is. I've noticed the other way  
round at least -
students raised on Java and C can't read Pascal code with begin/end  
brackets..

apparently Python optionally supported "end" keywords - but does no  
longer.
If {} is good enough for Haskell it's good enough for me :-)
Actually I think any other bracket design would "scare the horses"

James



More information about the Grace-core mailing list