* [gentoo-catalyst] docstring standard
@ 2015-10-06 15:21 Mike Frysinger
2015-10-06 15:39 ` Brian Dolbec
0 siblings, 1 reply; 2+ messages in thread
From: Mike Frysinger @ 2015-10-06 15:21 UTC (permalink / raw
To: gentoo-catalyst
[-- Attachment #1: Type: text/plain, Size: 396 bytes --]
would be good to dictate now considering docstring coverage is so low.
personally i find the javadoc style to be unreadable and unpythonic ;),
so i'd propose the style clearly documented here:
https://google-styleguide.googlecode.com/svn/trunk/pyguide.html?showone=Comments#Comments
i find it much easier to read at a glance. i've also written a pylint
module that checks its syntax :).
-mike
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [gentoo-catalyst] docstring standard
2015-10-06 15:21 [gentoo-catalyst] docstring standard Mike Frysinger
@ 2015-10-06 15:39 ` Brian Dolbec
0 siblings, 0 replies; 2+ messages in thread
From: Brian Dolbec @ 2015-10-06 15:39 UTC (permalink / raw
To: gentoo-catalyst
On Tue, 6 Oct 2015 11:21:10 -0400
Mike Frysinger <vapier@gentoo.org> wrote:
> would be good to dictate now considering docstring coverage is so low.
> personally i find the javadoc style to be unreadable and
> unpythonic ;), so i'd propose the style clearly documented here:
> https://google-styleguide.googlecode.com/svn/trunk/pyguide.html?showone=Comments#Comments
>
> i find it much easier to read at a glance. i've also written a pylint
> module that checks its syntax :).
> -mike
It looks nice, but is yet another style to learn for me (minor).
I have used the portage style in some new code, but the vast majority
of the code is without much of any good docstrings. So, yeah, now is
the time to decide, before it gets more difficult to change.
I'd like to hear from the others in releng.
--
Brian Dolbec <dolsen>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-10-06 15:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-06 15:21 [gentoo-catalyst] docstring standard Mike Frysinger
2015-10-06 15:39 ` Brian Dolbec
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox