3 ms·
I haven't seen anything much better than SOLID from Clean *Architecture in terms of organizing large projects into lots of small discrete interfaces. I guess gl
by mypalmike 4y ago
I haven't seen anything much better than SOLID from Clean *Architecture in terms of organizing large projects into lots of small discrete interfaces. I guess globally declared pure functions are being pushed a lot today, but I find this approach organizationally wanting, particularly in promoting tight coupling (with all its drawbacks).
*Edit: Updated: I had forgotten this was not from "Clean Code".
- ajuc 4y ago> I guess globally declared pure functions They don't have to (and probably shouldn't) be globally defined.
- mypalmike 4y agoI meant "globally declared" in contrast to instance-oriented (i.e. methods) rather than whether or not a function exists within a namespace, which is what I think you're implying.
- Jtsummers 4y agoA somewhat more common term is "free function". Comes from C++, in particular, where it means non-member functions (that is, not methods).