The problem is F# doesn't get enough resources internally at Microsoft. How many times has VS shipped missing the latest version of F# tools? In terms of community, it's tiny. If I want to do functional programming, F#/.NET isn't the strongest option. I have several books on F# and as much as I'd like to learn/use it beyond toying around, I can't help but feel like all it's worth using for is tinkering (outside of th…
I find this to be an interesting cultural phenomenon, this thing where people in .NET-land are skittish about F# because it's not so tightly controlled by Microsoft. Meanwhile, I'm pretty sure nobody even wants Oracle to be getting involved in Kotlin or Scala or Clojure.
A whirlwind tour of object-oriented code in F# (2012)
91–100 of 130 posts
Re: A whirlwind tour of object-oriented code in F# (2012)
#92I used to be a big Haskell programmer. While I still love the language, I've really come around to the idea that strictly evaluated functional languages like F# or OCaml are the best for programming in. You get the nice functional features but don't have the straightjacket of laziness forcing you into certain design decisions. It's really nice sometimes to be able to mix in impure, side effectful code without having…
I'm not saying it's a replacement for either F# or OCaml, and I've only glanced at it, but F*[1] looks pretty neat. It's higher-level than F# (a lot) and has a syntax more similar to Haskell's. You can even extract programs in F# and OCaml. [1] https://www.fstar-lang.org/
I hope it's gotten better.
Re: A whirlwind tour of object-oriented code in F# (2012)
#93But unfortunately there are still lot of libraries out there for F# which don't support .net core fully. Especially db access ones.
Re: A whirlwind tour of object-oriented code in F# (2012)
#94OO in F#. there goes the language...
Not true. You actually are not to use OO in F# unless you really have to and there are certain cases where it helps
Re: A whirlwind tour of object-oriented code in F# (2012)
#95Earlier quoted context omitted.
The thing I find most interesting about a lot of C# developers I've worked with, trained, etc. is their understanding of "Object Oriented" programming. I have the same discussion over and over again. "Have you looked at F# even to just to see how it works?" "I won't ever use it. I'm an OO programmer, and it suits me just fine!" "Do you use LINQ, and understand you can pass functions into methods etc.?" "Yeah, it make…
There are C# programmers like that I suppose. There are also many C# programmers who buy into multi paradigmism, they fee no ideological conflict between using OO or FP as needed. C# supports FP well enough, and gets better every release (eg pattern matching). It’s difficult to compete with C#, especially when F# is feeding features into it.
I know local functions are a recent ish addition to C#. Hoping they keep going down that road.
Re: A whirlwind tour of object-oriented code in F# (2012)
#96Earlier quoted context omitted.
Try to use EF, WCF, UWP, WPF from F#.
EF isn't really needed with Dapper and the available SQL type providers. Even still it's totally naturally to have a C# project holding the base EF stuff which you reference from your F# projects
Re: A whirlwind tour of object-oriented code in F# (2012)
#97Any source code that i try to go through is sprinkled with so many new keywords, so many different way of combining stuff, that there seems to be so many syntactical stuff going on. It is really making me struggle.
It just feels like a language where the maintainers are going overboard with. And I am sure that once I understand it, I would love it, but the path to get there is so hard.
Pretty much no tutorials or articles are out there and reading sources for small projects is not viable for me either due to the keyword noise and too many ways to do something.
I did not feel anything like this when I taught myself python, ES6, lua, Crystal etc. F# just feels too big.
Re: A whirlwind tour of object-oriented code in F# (2012)
#98Earlier quoted context omitted.
The first stepping stone the front-end folks take into server side programming. :D
What would you choose instead if you needed to write a simple web server?
Re: A whirlwind tour of object-oriented code in F# (2012)
#99Earlier quoted context omitted.
C# was usable in VS Code even 3 years ago
How is it these days? Is it “usable” or actually something you want to and enjoy using? Will I be left wanting Visual Studio? I mean I really enjoy IntelliJ, it makes programming Java like slicing butter. But I do want to try F#, people talk so highly of it.
Re: A whirlwind tour of object-oriented code in F# (2012)
#100Unlike most commentors my experience with F# hasn't been stellar. I feel the language itself is well designed and the community is great but there is just so much of it. Any source code that i try to go through is sprinkled with so many new keywords, so many different way of combining stuff, that there seems to be so many syntactical stuff going on. It is really making me struggle. It just feels like a language where…
The lack of a good online tutorial is a problem for me as well. F# For Fun and Profit is decent, but I've not found it a good substitute for a book/tutorial.