3 ms·
Most of these are all true for F# too. On 2, most of the syntax is indentation sensitive, but for types you can optionally annotate them with `class`/`struct`/
by sparkie 8y ago
Most of these are all true for F# too.
On 2, most of the syntax is indentation sensitive, but for types you can optionally annotate them with `class`/`struct`/`interface` and the keyword `end` to finalize them.
Pattern matching in F# is more powerful than simple switch/case statements.
- zapzupnz 8y agoTIL again! I've always wanted to try F#, so I might give it a whirl now. I like learning about these little quality-of-life titbits before jumping into something.