[REBOL] Rebol Style - Caution: Religious views expressed! ;-)
From: al::bri::xtra::co::nz at: 9-Oct-2000 21:40
Michael Jelinek wrote:
> Andrew Martin wrote:
> 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
> > ]
> Why is this a better "human readable" format? I must not be human.
1 ================== [
3 ================== [
Note that the start of each line shows the level of nesting. The blank line
with only "]" signals the end of a nest level, helps prepare you to step
back out of the nest, and provides whitespace breaks in larger scripts. The
end of a line with "[" on it signals the start of a nest.
Important words are in Title case, to indicate that they are important
here, usually because they're defined here. Unimportant words are in all
lower base, as they're not that important and aren't defined here. Title
case enables the eye to pick out the important stuff easily.