From d638db9042a310efae655e4b96b50e9a5ccfc427 Mon Sep 17 00:00:00 2001 From: brson Date: Thu, 18 Apr 2013 21:29:35 -0700 Subject: [PATCH] Updated Note style guide (markdown) --- Note-style-guide.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Note-style-guide.md b/Note-style-guide.md index c8b851c..7d95974 100644 --- a/Note-style-guide.md +++ b/Note-style-guide.md @@ -16,8 +16,8 @@ on type implementations, make default private, add pub explicitly where wanted Trait naming? - trait examples: Copy, Owned, Const, Add, Sub, Num, Shr, Index, Encode, Decode, Reader, Writer, GenericPath -- extension methods: XUtil? Prefer default methods -- avoid things with prefixes (able, etc). try to use transitive verbs, nouns, and then adjectives in that order +- extension traits: XUtil? When do you prefer default methods to extensions? +- avoid words with suffixes (able, etc). try to use transitive verbs, nouns, and then adjectives in that order