4 ms·
How do you define modularity? Written modular code in many languages. Me experience: functional constructs and declarative problem solving helps in grand schem
by birdymcbird 4y ago
How do you define modularity? Written modular code in many languages.
Me experience: functional constructs and declarative problem solving helps in grand scheme, as does putting your time into building missing abstractions or using right library.
with big monolithic architecture not only modularity important. also good if language has good set of libraries. also easier to maintain with strong typing. no strong typing in large code base is deal breaker to me.
- lucidguppy 4y agoI was looking into java and kotlin - but even the people talking about modular monoliths weren't happy with the current module support in java. The language should support separate teams writing modules to be used by other teams. The modules themselves would publish their public methods but really allow a group to turn up the encapsulation and hiding to the max. Users of a module would be forced to not even know about private variables or methods. They'd just get a compiled artifact and documentation.
- bradwood 4y agoExactly. I don't think this question can be properly answered until modularity is defined. One could argue that any language that has the concept of functions and imports is modular, which probably means all of them.
- noloblo 4y agoHow is Haskell declarative ?