Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(676)

Unified Diff: sky/specs/style-guide.md

Issue 1178523005: Mention typedefs in the sky dart style guide. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/specs/style-guide.md
diff --git a/sky/specs/style-guide.md b/sky/specs/style-guide.md
index b1f65d64e819960ccc2cf9e1b9bdd710ea9ecbf1..c518bc429f51cdc7f7ad6bb2cc7696a037012352 100644
--- a/sky/specs/style-guide.md
+++ b/sky/specs/style-guide.md
@@ -17,10 +17,11 @@ output of the analyzer unless you've filed a bug with the Dart team.
Use assert()s liberally.
-Classes and Enums are named UpperCamelCase. Everything else (methods,
-fields, variables, constants, enum values, etc) is lowerCamelCase.
-Global double and string constants are prefixed with k. Prefer using a
-static const in a relevant class than using a global constant.
+Types (i.e. classes, typedefs (function signature definitions) and
+enums) are named UpperCamelCase. Everything else (methods, fields,
+variables, constants, enum values, etc) is lowerCamelCase. Global
+double and string constants are prefixed with k. Prefer using a static
+const in a relevant class than using a global constant.
Don't name your libraries (no ```library``` keyword). Name the files
in ```lower_under_score.dart``` format.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698