3 ms·
Second design is the better design most of the times. It's not something special about functional programming. The first version is mostly just getting it wor
by ww520 12y ago
Second design is the better design most of the times. It's not something special about functional programming. The first version is mostly just getting it working and released. Revisiting the code always gives opportunity to refactor, simplify, and re-design, which leads to reduction in complexity, reduction in size, and increase in reuse.