architecture

2019-09-16T17:57:37.001500Z

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

seancorfield 2019-09-16T18:31:19.002900Z

"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
2019-09-19T18:08:09.003100Z

thanks!