beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From da...@apache.org
Subject [1/3] beam-site git commit: Fix possible erranous naming conventions reference
Date Fri, 10 Mar 2017 00:29:30 GMT
Repository: beam-site
Updated Branches:
  refs/heads/asf-site 7b78cc342 -> 8b046d48a


Fix possible erranous naming conventions reference


Project: http://git-wip-us.apache.org/repos/asf/beam-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/beam-site/commit/9cdf959c
Tree: http://git-wip-us.apache.org/repos/asf/beam-site/tree/9cdf959c
Diff: http://git-wip-us.apache.org/repos/asf/beam-site/diff/9cdf959c

Branch: refs/heads/asf-site
Commit: 9cdf959c9a6fa18d1401b03fdd6815986e3b6030
Parents: 7b78cc3
Author: Zur, Aviem <azur@paypal.com>
Authored: Sat Mar 4 14:01:45 2017 +0200
Committer: Davor Bonaci <davor@google.com>
Committed: Thu Mar 9 16:26:27 2017 -0800

----------------------------------------------------------------------
 src/contribute/ptransform-style-guide.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/beam-site/blob/9cdf959c/src/contribute/ptransform-style-guide.md
----------------------------------------------------------------------
diff --git a/src/contribute/ptransform-style-guide.md b/src/contribute/ptransform-style-guide.md
index 583f264..8bcb2d9 100644
--- a/src/contribute/ptransform-style-guide.md
+++ b/src/contribute/ptransform-style-guide.md
@@ -41,7 +41,7 @@ Do not:
 
 Do:
 
-* Respect language-specific naming conventions, e.g. name classes in `CamelCase` in Java
and Python, functions in `snakeCase` in Java but `with_underscores` in Python, etc.
+* Respect language-specific naming conventions, e.g. name classes in `PascalCase` in Java
and Python, functions in `camelCase` in Java but `snake_case` in Python, etc.
 * Name factory functions so that either the function name is a verb, or referring to the
transform reads like a verb: e.g. `MongoDbIO.read()`, `Flatten.iterables()`.
 * In typed languages, name `PTransform` classes also like verbs (e.g.: `MongoDbIO.Read`,
`Flatten.Iterables`).
 * Name families of transforms for interacting with a storage system using the word "IO":
`MongoDbIO`, `JdbcIO`.


Mime
View raw message