+Mastering modular JavaScript isn't strictly about following a well-defined set of rules, but rather about being able to put yourself on the shoes of your consumers, foreplanning for feature development that may be coming down the pipe, -- but not too extensively -- and treating documentation with the same respect and care that you should be putting into interface design. The internals, as the implementation details that they are, can always be improved later. Of course, we'll want to patch -- or, at least, abstract away -- those sources of complexity, but it is in their shell that beautiful modules truly shine. Above all, trust your own judgement and don't let the latest development fads clog your decision-making!
0 commit comments