Compare source code

Neil Cerutti neilc at norwich.edu
Thu Nov 4 14:18:28 EDT 2010


On 2010-11-04, Grant Edwards <invalid at invalid.invalid> wrote:
> On 2010-11-04, Neil Cerutti <neilc at norwich.edu> wrote:
>> On 2010-11-04, D'Arcy J.M. Cain <darcy at druid.net> wrote:
>>>> * Not being able to write an auto-indenter, ever, because it
>>>> is by design theoretically impossible:  Annoying.
>>>
>>> Right.  And in C you can never write an auto-bracer for
>>> exactly the same reason.
>>
>> It's not right, actually. Auto-indent is fairly easy in
>> Python. Auto-dedent is the impossible part.
>
> I think in common usage the term "auto-intender" refers to a
> program that can automatically control source indentation
> (which inclulde both "indenting" and "dindenting" source
> lines).

Thanks for the correction. Autoindent doesn't mean that to me
(I'm a vi user), but I should have figured out what he meant from
the context.

-- 
Neil Cerutti



More information about the Python-list mailing list