[REBOL] Re: Script styles
From: tim:johnsons-web at: 9-Nov-2003 17:46
* Andrew Martin <[andrew--martin--colenso--school--nz]> [031109 17:09]:
> Volker wrote (in another thread):
> > Hmm, eventually rebol.org could mark RT-style-scripts so people can
> look up "official" examples when in doubt?
>
> Perhaps this could be a declaration in the header? For example:
> Style: 'Rebol-Official
>
> People who prefer different styles could then propose different style
> standards which they think might be better or just different, like:
> Style: 'Cobol-Like
> Style: 'Natural
> Style: none
> Style: Andrew ; :)
IMHO, the most important part of any style is that it be consistent.
Different programmers have different needs and work in different
venues. I for instance program also in python, and I like a style
that (sort of) emulates python block outline approach, so I like
to indent block delimiters, which differs from pretty-print.
I think that the cobol-like (or lisp-or-scheme-like) approach is one
of the most readable. *However* I might divert from that when I am
working with mysql, because then I like to use underscores, since
I am likely to want to use rebol words that use the same characters
acceptable to mysql column naming convention.
Pragmatism trumps arbitrary convention and there are pretty-print
scripts out there, right?
tim
> After all, with out variation in style, how can it improve?
>
> What do people think?
>
> Andrew J Martin
> Attendance Officer
> High-Evolutionary.
> Colenso High School
> Arnold Street, Napier.
> Tel: 64-6-8310180 ext 826
> Fax: 64-6-8336759
> http://colenso.net/scripts/Wiki.r?AJM
> http://www.colenso.school.nz/
>
> DISCLAIMER: Colenso High School and its Board of Trustees is not responsible (or legally
> liable) for materials distributed to or acquired from user e-mail accounts. You can
report any
> misuse of an e-mail account to our ICT Manager and the complaint will be investigated.
> (Misuse can come in many forms, but can be viewed as any material sent/received that
> indicate or suggest pornography, unethical or illegal solicitation, racism, sexism,
inappropriate
> language and/or other issues described in our Acceptable Use Policy.)
>
> All outgoing messages are certified virus-free by McAfee GroupShield Exchange 5.10.285.0
> Phone: +64 6 843 5095 or Fax: +64 6 833 6759 or E-mail: [postmaster--colenso--school--nz]
>
> --
> To unsubscribe from this list, just send an email to
> [rebol-request--rebol--com] with unsubscribe as the subject.
--
Tim Johnson <[tim--johnsons-web--com]>
http://www.alaska-internet-solutions.com