3 ms·
Sorbet exists, but it’s worse than what Python offers, which is dramatically worse than what TypeScript did to JS.
by teaearlgraycold 4y ago
Sorbet exists, but it’s worse than what Python offers, which is dramatically worse than what TypeScript did to JS.
- ZephyrBlu 4y agoMy experience with Sorbet has been way better than mypy with Python. Sorbet is way more useful.
- teaearlgraycold 4y agoThat’s good to hear. I only ever tried Sorbet years ago when it was pretty new.
- ZephyrBlu 4y agoOh that's interesting. You mentioned that Sorbet is dramatically worse than TS, but working with a modern RoR/React stack I don't have that opinion. TS is a bit more flexible and expressive than Sorbet, but I find Sorbet very ergonomic even with strict typing. I rarely have to use T.let or T.must. Sorbet's typed data structures like T::Struct and T::Enum are also great.
- aledalgrande 4y agoHave you used tapioca with it? Apart from some edge cases, it makes it very smooth to use once you learn it.