Re:Software Architecture Guide
by lidHanteyk on Sunday August 25, 2019 @10:04AM
(#20793015)
Haskell is not really category-theoretic. The category Hask doesn't quite line up with real-world Haskell. The disconnection is well-understood and well-documented [0][1].
Category theory can directly give us systems from theories. See the papers behind FQL/CQL for more details, especially [2] and [3].
[0] https://wiki.haskell.org/Hask
[1] http://www.cse.chalmers.se/~nad/publications/danielsson-et-a...
Re:Software Architecture Guide
by crimsonalucard on Sunday August 25, 2019 @12:56PM
(#20793991)
Well you're not technically wrong about the Haskell thing. I'll look into FQL and CQL. If such a thing exists, what in your opinion is stopping an architect from using it?
Is it just that it's not popular or are there flaws?
Re:Software Architecture Guide
by lidHanteyk on Sunday August 25, 2019 @10:12PM
(#20796974)
If you use it now, and it ends up being popular like Java or Python or Haskell are popular today, then you can expect a two-decade delay before you're vindicated.
In terms of just pure math though, category theory is very new when compared to most of the disciplines around today.
Also you are completely wrong about it being a century old. It was invented in the 1940s.
I'm assuming you just googled it to find counter points. That being said you missed something even OLDER then CQL and the most popular and definitive use of CT in programming today:
Haskell.
Anyway my main point is that Category Theory can answer some questions about 'deriving' an architecture for a problem rather than having a person 'design' one. The way category theory is used and haskell and CQL is as a framework. In haskell and CQL it's more about designing the system within the constraints of category theory then it is about deriving a system. The derivation of a system from a formal theory was ultimately what I was trying to get at.
You can sort of see an outline for the possibility of this happening when you study CT. I'm being really speculative here in case I failed to convey that. Such a system doesn't actually exist (yet). That's all.