aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-01-11 22:41:05 +0800
committerobscuren <geffobscura@gmail.com>2014-01-11 22:41:05 +0800
commitd6f7372a3c5b002c6e385b5916bd5f81463c37df (patch)
tree060055a985aaf63a642496770b23baa8e0dbe766 /README.md
parent9571a512861d4a44c36d368f4baa15b2aa81c37d (diff)
downloadgo-tangerine-d6f7372a3c5b002c6e385b5916bd5f81463c37df.tar
go-tangerine-d6f7372a3c5b002c6e385b5916bd5f81463c37df.tar.gz
go-tangerine-d6f7372a3c5b002c6e385b5916bd5f81463c37df.tar.bz2
go-tangerine-d6f7372a3c5b002c6e385b5916bd5f81463c37df.tar.lz
go-tangerine-d6f7372a3c5b002c6e385b5916bd5f81463c37df.tar.xz
go-tangerine-d6f7372a3c5b002c6e385b5916bd5f81463c37df.tar.zst
go-tangerine-d6f7372a3c5b002c6e385b5916bd5f81463c37df.zip
Coding style
Diffstat (limited to 'README.md')
-rw-r--r--README.md25
1 files changed, 24 insertions, 1 deletions
diff --git a/README.md b/README.md
index 37e8505f1..a9bb8b260 100644
--- a/README.md
+++ b/README.md
@@ -25,4 +25,27 @@ Command line options
Contribution
============
-See CONTRIB.md
+If you'd like to contribute to Ethereum Go please fork, fix, commit and
+send a pull request. Commits who do not comply with the coding standards
+are ignored.
+
+Coding standards
+================
+
+Sources should be formatted according to the [Go Formatting
+Style](http://golang.org/doc/effective_go.html#formatting).
+
+Unless structs fields are supposed to be directly accesible, provide
+Getters and hide the fields through Go's exporting facility.
+
+Don't "overcomment", meaning that your and my mom doesn't have to read
+the source code.
+
+*wrong*
+
+```go
+// Check if the value at x is greater than y
+if x > y {
+ // It's greater!
+}
+```