Hacker News new | ask | show | jobs
by hxegon 3567 days ago
Clojure agrees with this philosophy IMO. Paraphrasing, but "100 functions on 1 data structure is better than 10 functions on 10 structures"
1 comments

True. I think in general it's a philosophy of functional programming, where data structures are types, and type signature of functions are their APIs.