|
|
|
|
|
by horia_
4622 days ago
|
|
I've long been a fan of functional languages, though I've found them wanting in any sort of production environment. This is mostly due to the lack of the compositional semantics that are needed for a team of four to six developers to simultaneously build an application or product. How does Haskell address this issue? |
|
If you mean modularity, I've found Haskell to allow for more modularity than normal programs. Since you don't have side-effects everywhere, distant parts of your code are actually distinct and truly decoupled.
Haskell also makes it more natural to break your code up into small, self-contained modules; thanks to its type system, these modules tend to have well-defined interfaces that are easy for other people to use. It's surprisingly easy to write loosely-coupled code that works together.
Did you have something more specific in mind?