3 ms·
It's a kind of trivial side-note, but F# would provide a compiler warning (configurable to be a compilation error, if you like), if you were to call myString.Tr
by arwhatever 9y ago
It's a kind of trivial side-note, but F# would provide a compiler warning (configurable to be a compilation error, if you like), if you were to call myString.Trim() without binding the result to a value, unless you explicitly pipe the result to "|> ignore". This language in particular has oodles of great default behaviors, most of which can be overridden, but you must do so explicitly.
Unfortunately, I have no more data on the real-world results than anyone else. :-)
- icek 9y agoCan I butt in with an aside about how nice F#'s physical unit type handling is? Seriously, that's some nice design right there.