Regenerate website
Project: http://git-wip-us.apache.org/repos/asf/beam-site/repo Commit: http://git-wip-us.apache.org/repos/asf/beam-site/commit/07748b57 Tree: http://git-wip-us.apache.org/repos/asf/beam-site/tree/07748b57 Diff: http://git-wip-us.apache.org/repos/asf/beam-site/diff/07748b57 Branch: refs/heads/asf-site Commit: 07748b578f352ed0a84f244b8f37f7928df27d1f Parents: 9cdf959 Author: Davor Bonaci <da...@google.com> Authored: Thu Mar 9 16:29:14 2017 -0800 Committer: Davor Bonaci <da...@google.com> Committed: Thu Mar 9 16:29:14 2017 -0800 ---------------------------------------------------------------------- content/contribute/ptransform-style-guide/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/beam-site/blob/07748b57/content/contribute/ptransform-style-guide/index.html ---------------------------------------------------------------------- diff --git a/content/contribute/ptransform-style-guide/index.html b/content/contribute/ptransform-style-guide/index.html index 3006e9e..9e61954 100644 --- a/content/contribute/ptransform-style-guide/index.html +++ b/content/contribute/ptransform-style-guide/index.html @@ -240,7 +240,7 @@ As a rule of thumb: expose these if you anticipate that the full packaged <code <p>Do:</p> <ul> - <li>Respect language-specific naming conventions, e.g. name classes in <code class="highlighter-rouge">CamelCase</code> in Java and Python, functions in <code class="highlighter-rouge">snakeCase</code> in Java but <code class="highlighter-rouge">with_underscores</code> in Python, etc.</li> + <li>Respect language-specific naming conventions, e.g. name classes in <code class="highlighter-rouge">PascalCase</code> in Java and Python, functions in <code class="highlighter-rouge">camelCase</code> in Java but <code class="highlighter-rouge">snake_case</code> in Python, etc.</li> <li>Name factory functions so that either the function name is a verb, or referring to the transform reads like a verb: e.g. <code class="highlighter-rouge">MongoDbIO.read()</code>, <code class="highlighter-rouge">Flatten.iterables()</code>.</li> <li>In typed languages, name <code class="highlighter-rouge">PTransform</code> classes also like verbs (e.g.: <code class="highlighter-rouge">MongoDbIO.Read</code>, <code class="highlighter-rouge">Flatten.Iterables</code>).</li> <li>Name families of transforms for interacting with a storage system using the word âIOâ: <code class="highlighter-rouge">MongoDbIO</code>, <code class="highlighter-rouge">JdbcIO</code>.</li>