3 ms·
F# secret superpower that no one has discovered for 30 years, and it will change its popularity in enterprise software.
by rmanolis 2y ago
F# secret superpower that no one has discovered for 30 years, and it will change its popularity in enterprise software.
- cies 2y agoI like TST. We use it in our code (FP'ish Kotlin). But I also like stack traces, as they show me call-stack to the point the error happened. Something TST does not always show: different call-stacks can result in the same (or very similar) TST-stack.
- trgn 2y agoit's secret superpower it to allow you to give up on trying your code to compile and then just to shim against some C# bindings
- neonsunset 2y agoC# bindings?? F# and C# build on top of the same type system and can transparently access each other's types.
- trgn 2y agomaybe I misunderstand, but iirc i had to compile C# first into a separate dll.
- Dansvidania 2y agoI must say this take seems a bit... grandiose... to me. People have been banging on with type systems and similarly "better" capabilities for at least 2 decades [0] and Enterprise continues with a stark preference for language "practicality" and low barrier of entry. IMO it's because it's best to keep engineers superficially interchangeable rather than having a highly stable system (perhaps stable over spec) and a costly workforce with lots of negotiation leverage. But I digress. [0] https://en.wikipedia.org/wiki/Worse_is_better https://en.wikipedia.org/wiki/Worse_is_better