|
|
|
|
|
by tsomctl
2203 days ago
|
|
> While F# allows C#-like OOP, and while this can be an initial stepping stone in the path towards F#, you must go all the way. I'd be less charitable and say that OOP in F# is a tedious, verbose mess. Functional programming in F# is extremely concise, at the expense of OOP. I wrote a parser/lexer in F#, to be used from C#, and ended up rewriting it in C# instead of dealing with the interop. I'm hoping that some day, C# will eventually have F#'s pattern matching power. They're slowly introducing more and more features to do it, and there's no major technical reason why C# wouldn't be able to. |
|