4 ms·
You know how seasoned lisp programmers say the parentheses eventually disappear? I felt like F# was the opposite. There were invisible parentheses everywhere an
by sevensor 2y ago
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.
- UK-Al05 2y agoMost ml based languages feel like that. It feels like typed lisp with the brackets omitted.
- kazinator 2y agoBut 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.
- sevensor 2y ago> 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.