Re: Recommendations for AppleScript Formatting
Re: Recommendations for AppleScript Formatting
- Subject: Re: Recommendations for AppleScript Formatting
- From: garbanzito <email@hidden>
- Date: Thu, 25 Oct 2001 16:33:47 -0600
my 2 cents --
i've used source code formatting tools for multiple
languages, and the one thing i can add is that it's
important for me to see code at different levels: keywords,
statements, groups of statements, control structures. when
a formatter creates great variation in colors or type
style, i can't see the higher level structures any more.
also, i tend to comment heavily, yet often i want my
comments to "fade away" when i need to read code seriously.
so i tend to put comments in a medium grey, just dark
enough to be read comfortably, but easy to ignore when i
want.
i also find that Frontier's code editor, which uses an
outliner to define the scope of control structures, has
huge advantages for code readability and i would love it if
AppleScript (or any other language) had an editor with such
a feature. (you _can_ write in any OSA language in
Frontier's editor, but such scripts are then stuck in
Frontier). being able to collapse code blocks and long
comments is more of a win than any number of
carefully-chosen colors.
--
steve harley email@hidden