News for hackers. Stuff that matters.
Re:What's New in F# 9 by OptionOfT on Sunday November 10, 2024 @03:32PM (#42102434)
Since F# is primarily meant as a functional language, and thus is written as such, learning it through examples when you have no functional language knowledge, there is quite the learning curve.

Compare that to starting to read Python when you come from C#, it reads as English.

F# omits much more in its code.

Re:What's New in F# 9 by sevensor on Sunday November 10, 2024 @04:55PM (#42102866)
You know how seasoned lisp programmers say the parentheses eventually disappear? I felt like F# was the opposite. There were invisible parentheses everywhere and once I figured out where they were, the language made a lot more sense.
Re:What's New in F# 9 by UK-Al05 on Sunday November 10, 2024 @06:04PM (#42103219)
Most ml based languages feel like that.

It feels like typed lisp with the brackets omitted.

Re:What's New in F# 9 by kazinator on Monday November 11, 2024 @02:08AM (#42105063)
But you can see that about anything with an arbitrarily complicated grammar. If you have internalized the grammar, then you can place parentheses into any utterance to show the structure, which means you can see where they would go even if you don't actually write them in.

Yes, the language make a lot more sense if you know how to do that compared to if you don't.

Re:What's New in F# 9 by sevensor on Monday November 11, 2024 @10:04AM (#42107632)
> anything with an arbitrarily complicated grammar

But that’s the thing about F#: the grammar isn’t arbitrarily complicated. It’s really quite simple, which is why mentally inserting lispy parentheses helps me reason about it.