4 ms·
A lot resonates with this, particularly factoring code and carving out barriers later on when the project has settled. I believe there are some antipatterns li
by jamil7 3y ago
A lot resonates with this, particularly factoring code and carving out barriers later on when the project has settled.
I believe there are some antipatterns like singletons and globals that on the surface look grug-brained but are actually complexity multipliers.
- sesm 3y agoSaying "complexity bad" without giving a definition of complexity is not very meaningful. In reality it means "I'll use my personal judgement and anything I don't like will be marked as complexity". Rich Hickey gave his own practical definition of complexity and followed it in his design, and sometimes the results are very unintuitive. For example, transducers in Clojure are actually simple (by his definition) because they de-couple transformation from the context. Also, by his definition HTMX approach (aka PJAX, aka HTML-over-the-wire) would be more complex then JSON + client side rendering, because it couples together multiple things: network, routing and rendering.