canmove, Confirmed users
2,056
edits
(add recommendation around naming of things) |
(we can definitely do new-less construction; remove comment questioning that) |
||
Line 63: | Line 63: | ||
let Panel = require("panel").Panel; | let Panel = require("panel").Panel; | ||
let panel = Panel(); | let panel = Panel(); | ||
Method names should be verbs, e.g. <code>show</code>, <code>post</code>. Property names should be the simplest accurate conventional or idiomatic label for their value (e.g. <code>persistent</code> for the boolean property of a visual feature that specifies whether or not the feature remains visible all the time). | Method names should be verbs, e.g. <code>show</code>, <code>post</code>. Property names should be the simplest accurate conventional or idiomatic label for their value (e.g. <code>persistent</code> for the boolean property of a visual feature that specifies whether or not the feature remains visible all the time). |