[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: Naming conventions?
From: Richard Smith <kde () metafoo ! co ! uk>
Date: 2004-10-14 0:18:57
Message-ID: 200410140118.57655.kde () metafoo ! co ! uk
[Download RAW message or body]
On Thursday 14 October 2004 00:19, Michael Pyne wrote:
> What about stuff like (you'll need a fixed-width font for this
> demonstration):
>
> Namespace::type ClassWithALongName::fooMethod(bool argument_1,
> int argument_2, etc...
>
> ^ ^ ^ ^
>
> How are you going to indent the int so that it is (always, no matter what
> tab setting you use) directly under bool by using tabs alone? Even if you
> are a tabs kind of programmer, this has to be done using spaces to look
> right. Unfortunately most editors aren't good enough to realize that some
> lines must be spaced out, even in tab mode, and so the code still looks bad
> for people with different tab settings.
It's unfortunate that some editors are broken this way. Kate is, for instance.
I'm working on an auto-indent mode (for Kate) which fixes that right now.
I've already got it working for the case you describe above.
--
Thanks,
Richard
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic