[gst-devel] indent stuff

Thomas Vander Stichele thomas at apestaart.org
Mon Mar 15 06:37:04 CET 2004


On Mon, 2004-03-15 at 14:47, Johan Dahlin wrote:
> mån 2004-03-15 klockan 13.57 skrev Thomas Vander Stichele:
> > > Why can't we just have a coding style document which we can point people
> > > to use if they're not using the correct style instead? Seems to be so
> > > much easier and to create a lot less trouble ...
> > 
> > Why make humans do what machines can do with a lot less error ? Why make
> > people care about something that should be done for them so they don't
> > have to worry ? Why come into this discussion so late ? :)
> 
> So far the "machines" has made many mistakes, screwing up all header
> files in a number of different ways. Which break the enum types, which
> breaks the python bindings. Not even counting making them totally
> unreadable.

Each change brings about problems, some inherent to the change, and some
not.  For example, I fixed quite a few other bugs that I only noticed
because of running gst-indent.  One of these was some headers where a {
was added inside a __cplusplus bit, but no ending } provided in the same
way !

I'd argue the machines have made less mistakes up to now than the
humans, but that is debatable :)

> I'm so late into this discussion since I wasn't around when you had it
> last time :-)

Well, yeah, that's how projects work :) Otherwise we wouldn't get
anything done.

> I'm going to revert all changes to the header files.

OK.  I hope by then I removed the auto-indentation for headers this time
around :)

Thomas


Dave/Dina : future TV today ! - http://www.davedina.org/
<-*- thomas (dot) apestaart (dot) org -*->
what good are promises
if nobody honours them ?
<-*- thomas (at) apestaart (dot) org -*->
URGent, best radio on the net - 24/7 ! - http://urgent.fm/






More information about the gstreamer-devel mailing list