- From: Aleksey Shvayka <notifications@github.com>
- Date: Tue, 19 Apr 2016 20:29:44 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc:
Received on Wednesday, 20 April 2016 03:30:11 UTC
Ruby styleguides *generally* disallow usage of `else` clauses in `unless` expressions because of readability. I find it difficult to read because of double negation (non-null => otherwise => null) and I think that this PR will improve readability and consistency in conditions. You can view, comment on, or merge this pull request online at: https://github.com/whatwg/dom/pull/234 -- Commit Summary -- * Editorial: flip non-null/otherwise conditions -- File Changes -- M dom.bs (12) -- Patch Links -- https://github.com/whatwg/dom/pull/234.patch https://github.com/whatwg/dom/pull/234.diff --- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/pull/234
Received on Wednesday, 20 April 2016 03:30:11 UTC