3 ms·
It's still not good enough. Java also gives you typing but builders and chained setters are still used.
by thriftwy 5y ago
It's still not good enough. Java also gives you typing but builders and chained setters are still used.
- Smaug123 5y agoThat's because Java, like C#, makes it really painful to define a new type. When it takes huge amounts of boilerplate to define a new type to hold a piece of dumb data, of course nobody does it! In F# it's one line of code, so it's idiomatic to define dozens of tiny types and use them to constrain the semantics of your program.
- thriftwy 5y agoI'm just not sure it will solve the problem in the fact of forward compatibility.