[Kde-pim] Re: Kdepim coding style: indentation

Cornelius Schumacher schumacher at kde.org
Tue Mar 1 18:35:40 GMT 2011


On Tuesday 01 March 2011 David Jarvie wrote:
> I'd like to propose that the kdepim coding standard
> http://community.kde.org/KDE_PIM/Development/CodingStyle/Korganizer should
> be amended to allow indentation with either 2 or 4 spaces. To avoid
> confusion when reading code, the two indentations should not, of course,
> be mixed together. The standard should stipulate that the same indentation
> should be used throughout each source file. Alternatives might be that
> each subdirectory, or each function, can have its own indentation.

Changing indentation rules seems to me like one of the most unproductive 
things you could do, and a rule allowing two different indentations doesn't 
deserve the name rule.

The only change, I would (hesitantly) understand, would be to replace the KDE 
PIM coding style by the kdelibs one to get overall more consistency. This 
still would open the nightmare of migrating from one style to another.

Frankly, I think there are way more important things to spend time on than the 
indentation rule, so I'd avoid changing it at all. Let's focus on the 4.6 
release for example.

-- 
Cornelius Schumacher <schumacher at kde.org>
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list