From ffa662f682efd86b33a257c9755f44c077a6b82e Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Wed, 17 Jul 2019 14:33:41 -0400 Subject: [PATCH] web content naming style --- static/build.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/static/build.html b/static/build.html index 609b334e..f3203367 100644 --- a/static/build.html +++ b/static/build.html @@ -653,6 +653,10 @@ export PATH="$PATH:$HOME/sdk/tools:$HOME/sdk/tools/bin:$HOME/sdk/platform-tools: should be declared with let but never use var as it is effectively broken. Try to prefer loops with for..of.

+

For web content, use dashes as user-facing word separators rather than underscores. + Page titles should follow the scheme "Page | Directory | Higher-level directory | + Site" for usability with a traditional title as the Open Graph title.

+

Avoid designing around class inheritance unless it's a rare case where it's an extremely good fit or the language sucks (Java) and it's the least bad approach, but still try to avoid it.