From 110d4508c34654353936c05dc46c612c68428c3d Mon Sep 17 00:00:00 2001 From: "Zur, Aviem" Date: Sat, 4 Mar 2017 14:01:45 +0200 Subject: [PATCH] Fix possible erranous naming conventions reference --- src/contribute/ptransform-style-guide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/contribute/ptransform-style-guide.md b/src/contribute/ptransform-style-guide.md index 583f264e51b..8bcb2d96c2a 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`.