[OpenLayers-Dev] Style Guide

Andreas Hocevar ahocevar at opengeo.org
Fri Mar 9 15:14:54 EST 2012


Have you already reviewed the OpenLayers style guide [1]?

[1] http://trac.osgeo.org/openlayers/wiki/CodingStandards

On Fri, Mar 9, 2012 at 2:17 PM, Paul Golmann <p.golmann at neonaut.de> wrote:
> 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
>
> _______________________________________________
> Dev mailing list
> Dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-dev



-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.


More information about the Dev mailing list