[OpenLayers-Dev] Style Guide

Paul Golmann p.golmann at neonaut.de
Fri Mar 9 08:17:59 EST 2012


Hi,

I am used to see a lot of javascript code. I write a lot of frontend 
(jQuery, OpenLayers) code but also server-side JavaScript (node.js). 
What I like about node.js is that you have a pretty strict style guide. 
Also for my frontend code I tend to stay close to my own styleguide.

I would like to see OpenLayers engaging all contributers to follow one 
styleguide. I would volunteer to go through the existing code and apply 
a new styleguide!

Suggestion would be http://javascript.crockford.com/code.html or 
http://google-styleguide.googlecode.com/svn/trunk/javascriptguide.xml 
which node.js uses.

I also opened a issue at github: 
https://github.com/openlayers/openlayers/issues/308.

I am looking forward to your opinions.


Mit freundlichen Grüßen

Paul



More information about the Dev mailing list