Fork me on GitHub
#architecture
<
2019-09-16
>
Marcos Silva17:09:37

Hello guys Does clean architecture make sense in functional context? If so, does it need adaptations?

seancorfield18:09:19

"An entity can be an object with methods, or it can be a set of data structures and functions." -- and the separation of concerns overall is a good thing so I'd say, yes, it makes sense and it is feasible/reasonable to follow such an architecture. It pushes the mutable stuff (database, UI, etc) to the outside and uses pure functions and (immutable) data on the inside.

👍 1