Re: Style Guide

Timo Stollenwerk <tisto-z4DKO/[email protected]>
Newsgroups gmane.comp.web.zope.plone.devel
Message-ID <[email protected]>
Yes. I have objections. We had a long discussion some time ago and 
reached an agreement. Please look up the discussion. I don't want to 
repeat everything that has been written back then. Please let's stop 
this here and not waste time again and again on such details...

And yes, I watched the talk. And yes, bad things happen if you obey the 
80 characters limit and turn off your brain at the same time. The 80 
characters limit is a hint for programmers that there MIGHT be a problem 
with your code. If you are smart, you solve it in the right way and make 
your code more readable. If you are not smart, you do the things 
Hettinger describes in his talk.

It is perfecly ok to use "# noqa" for exceptions and ignore the rule if 
that makes sense. It is not ok to have two, three, or four different 
"standards" (80, 90, 100, 120, ...) within the Python community.

Timo

Am 24.04.15 um 15:19 schrieb Roel Bruggink:
> In light of Raymond Hettinger' talk "Beyond pep8", I'd like to increase
> the maximum line length to 90-ish. Any objections?
>
> Please watch https://www.youtube.com/watch?v=wf-BqAjZb8M :) He is way
> better in explaining than I will ever be :)
>
>
> -Roel
>
> On 24 April 2015 at 15:06, Jens W. Klein <jens-/[email protected]
> <mailto:jens-/[email protected]>> wrote:
>
>     Hi!
>
>     On 2015-04-24 12:32, Christian Ledermann wrote:
>      > Hi,
>      >
>      > I was looking for the code styleguide and only found:
>      >
>      > http://docs.plone.org/develop/plone-coredev/style.html
>      >
>      > I thought there was a quite extensive styleguide somewhere
>      > with additional information for zpt, zcml, html JS etc ?
>      >
>      > Can you point me in the right direction?
>
>
>     Indeed it looks like also this part of the documentation needs some
>     edit.
>
>     We follow the plone.api conventions, which are documented here:
>
>     http://ploneapi.readthedocs.org/en/latest/contribute/conventions.html
>
>     A great helper to check against for plone.api style is
>
>     plone.recipe.codeananlysis
>     https://pypi.python.org/pypi/plone.recipe.codeanalysis
>
>     hth Jens
>     --
>     Klein & Partner KG, member of BlueDynamics Alliance
>
>
>     ------------------------------------------------------------------------------
>     One dashboard for servers and applications across Physical-Virtual-Cloud
>     Widest out-of-the-box monitoring support with 50+ applications
>     Performance metrics, stats and reports that give you Actionable Insights
>     Deep dive visibility with transaction tracing using APM Insight.
>     http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>     _______________________________________________
>     Plone-developers mailing list
>     Plone-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>     <mailto:Plone-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
>     https://lists.sourceforge.net/lists/listinfo/plone-developers
>
>
>
>
> --
> Roel Bruggink
> https://www.fourdigits.nl/over-ons#roel-bruggink
> <https://www.fourdigits.nl/over-ons#roel-bruggink>
>
> Four Digits BV
> https://www.fourdigits.nl <https://www.fourdigits.nl/> tel: +31 26 4422700
>
>
> ------------------------------------------------------------------------------
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>
>
>
> _______________________________________________
> Plone-developers mailing list
> Plone-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/plone-developers
>

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.