Coding style and white space

Danilo Cesar Lemes de Paula danilo.eu at gmail.com
Thu Jan 16 11:14:12 UTC 2014


On 01/16/2014 06:32 AM, Benjamin wrote:
> Are the flaming and discarding being done for the children? Or is using
> the correct coding style being done for them?
> 

Working on so many projects with so many different conventions is quite
difficult to adapt vim/emacs/whatever to each project.
I like the idea that if a project has its own coding style guidelines
and wants to enforce them, it should also ship a tool to help doing
that.

gstreamer has a git-hook that uses indent (gnu indent) to force or
complain about coding style before the commit is accepted by git.
webkit also has its own coding complainer (webkit-check-style) that is
always called before webkit-upload-patch.
I've heard that clang also has a built-in tool to fix coding style.

Might be a good idea to take a look on those tools.

--
Danilo Cesar


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20140116/51e76172/attachment.sig>


More information about the subsurface mailing list