----- Original Message -----
From: "Randy Kramer" <[EMAIL PROTECTED]>
To: "AbiWord-dev" <[EMAIL PROTECTED]>
Sent: Tuesday, February 06, 2001 2:59 PM
Subject: Re: outlines vs. lists (was Re: Commit: Various Lists UI
improvements.)
> For anyone who's interested, see
> http://www.cawley.demon.co.uk/lang.html.  Read the section "Folding -
> and generalized folds".  See this example:
>
> <begin quote>
> However, one could also fold within a line. For example, it is surely
> informative to replace the code fragment
>
>         (today.day >= MONDAY) && (today.day <= FRIDAY) &&
> !today.is_public_holiday()
> with
>      today is a working day
> especially if the more legible but less precise formulation can be
> unfolded instantaneously into the exact representation, should that be
> needed.
> <end quote>
>
> Mike -- have you ever used a folding editor?  Was it useful?  If not,
> was it because the concept was not useful or because it wasn't, for
> example, integrated with an IDE?

I rember coding in AMOS Professional on the Amiga.  In it's IDE you could
'fold' procedures.  I've always wonderes why the professional C++ IDEs don't
have a similar feature.  Perhaps it's because it encourages large files by
making files seem shorter that they really are (because functions/methods
are folded)?

Jamie.


Reply via email to