The Untouched Goldmine of F#
rm4n0s.github.io
The Untouched Goldmine of F#
1–10 of 58 posts
Re: The Untouched Goldmine of F#
#2Re: The Untouched Goldmine of F#
#3Re: The Untouched Goldmine of F#
#4The good old missing sum type story.
Don't Rust, Haskell, Elm, Kotlin (with sealed classes), etc also have them?
Re: The Untouched Goldmine of F#
#5F# secret superpower that no one has discovered for 30 years, and it will change its popularity in enterprise software.
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.
Re: The Untouched Goldmine of F#
#6Re: The Untouched Goldmine of F#
#7I really like F#, but I really miss having a full fledged f#-native ORM
ORMs are a bad idea, even when using OO langs: they make the simple queries slightly simpler (`Users.getById(id: Long)`), they do not help you for hard queries (ORM-using codebases of size usually have hard-SQL-queries "in strings").
Most users of FP langs know this and hence will not even try to implement ORMs.
Look into jOOQ, LINQ-method-syntax (or whatever it is called, without the funny SQLish syntactic sugar), SQLDelight or sqlx for non-ORM options that improve embedding SQL in general purpose langs.
Re: The Untouched Goldmine of F#
#8That is the weirdest and most crazy thing I've read in years.
Re: The Untouched Goldmine of F#
#9These are useless information?
Re: The Untouched Goldmine of F#
#10This is really about making stack traces easier to understand.
Stacktraces 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-stacks.
It is possible to return the stacktrace as part of the TST error (not just an error message but also a stacktrace).