The Zen of confirm
The idea of The Zen of confirm is highly inspired by The Zen of Python and must be our dogma for maintainable solutions:
Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Special cases aren’t special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one - and preferably only one - obvious way to do it.
If the implementation is hard to explain, it’s a bad idea.
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea - let’s do more of those!
Python Coding Gudielines
HTML Coding Guidelines
Apart from The Zen of confirm, the following rules apply especially to HTML:
Attributes use the
Boolean attributes will not use prefixes like
ECMAScript 6 is better than their predecessors.
Backward compatibility is not required and can be ignored.
#idselector must never be used for CSS styling.
CSS Coding Guidelines
However, the following rules apply especially to CSS:
Web Components Guidelines
For Web Components the following rules apply: