4 ms·
But optional is very simple concept. However, break from the old habits is hard. I was there moving to f# and the first month or so I try to bend the rules. S
by mamcx 8y ago
But optional is very simple concept.
However, break from the old habits is hard. I was there moving to f# and the first month or so I try to bend the rules.
Same now with rust. I try to mold it as a OO language, and get SUPER annoyed with how rust is so different. But you embrace algebraic types and pattern matching and suddenly a lot of other hidden problem simple disappear forever.
- kitsunesoba 8y agoProper optional use is indeed a habitual thing. When I was first transitioning from ObjC to Swift I found them to be an annoyance, but after using Swift for the past few years I find myself wondering how my ObjC code ever ran as well as it did without them. I’m now reluctant to use languages that lack option types.