2 ms·
One programmer's readability is another programmer's "[_ (_ :guard #(< % 3)) _ _]" ;)
by jashkenas 15y ago
One programmer's readability is another programmer's "[_ (_ :guard #(< % 3)) _ _]" ;)
- swannodette 15y agoOne programmer's readability is another programmer's o 'PARAM_START ParamList PARAM_END FuncGlyph Block', -> new Code $2, $5, $4 ;)
- mattdeboard 15y agoI agree with swannodette that the CoffeeScript version is not better than the JS implementation but for a different reason. In my experience code brittleness is directly correlated to the number of "else if" conditions in a single block.