3 ms·
Why do you assume that modules in a statically-typed language are necessarily more complex? (Except for the type annotations, of course.) Not every statically-
by majewsky 10y ago
Why do you assume that modules in a statically-typed language are necessarily more complex? (Except for the type annotations, of course.)
Not every statically-typed language is Java. ;)
- tracker1 10y agoTrue, it does depend on the language... C#, for example is limited to Namespaces and Classes, you can't write a simple function without a lot of wrapper... partial & static classes help, but it's not the same. Though, I will say writing tests against and with a dynamic language tends to be far easier when things are written with modularity in mind.