Ted wrote:
> How about starting with Carl's style guide:
>    http://www.rebol.com/users/scrstyle.html,
>    and extending from there?

Rebol Crew wrote:
> The contents of a block are indented, but the block's enclosing brackets
[] are not. That's because the brackets belong to the prior level of syntax
as they define the block, but are not contents of the block. Also it's
easier to spot breaks between adjacent blocks when the brackets stand out.

I disagree with Carl's reasoning here, but I can cope with it. I prefer the
better human readable style like this example:

    repeat Index Width [
        Column: make block! Width
        foreach Row Matrix [
            insert/only tail Column Row/:Index
            ]
        insert/only tail Results Column
        ]

Andrew Martin
Style Curmudgeon
ICQ: 26227169
http://members.nbci.com/AndrewMartin/
-><-


Reply via email to