A whirlwind tour of object-oriented code in F# (2012)
fsharpforfunandprofit.com
A whirlwind tour of object-oriented code in F# (2012)
1–10 of 130 posts
Re: A whirlwind tour of object-oriented code in F# (2012)
#2I've been meaning to dig my teeth into F# sometime soon because of its highly functional base.
Re: A whirlwind tour of object-oriented code in F# (2012)
#3Re: A whirlwind tour of object-oriented code in F# (2012)
#4Better yet, Linux and macOS support via .Net Core is excellent. F# on .Net Core is now a powerful alternative to Node.js.
Re: A whirlwind tour of object-oriented code in F# (2012)
#5Re: A whirlwind tour of object-oriented code in F# (2012)
#6F# is a joy to use. After a certain time, many C# developers find themselves writing in a functional style. F# makes this the default, but lets you continue using all of your existing code. Better yet, Linux and macOS support via .Net Core is excellent. F# on .Net Core is now a powerful alternative to Node.js.
Re: A whirlwind tour of object-oriented code in F# (2012)
#7So what I did instead to make my life easier was write F# to create a kind of DSL and create the template lookup scripts for me. I did it all from the browser with repl.it, and I generated dozens of scripts and saved myself a lot of time in the process.
Now I mostly use Racket, but F# is where I kind of started out. It's a fun dialect.
Re: A whirlwind tour of object-oriented code in F# (2012)
#8Re: A whirlwind tour of object-oriented code in F# (2012)
#9F# is a joy to use. After a certain time, many C# developers find themselves writing in a functional style. F# makes this the default, but lets you continue using all of your existing code. Better yet, Linux and macOS support via .Net Core is excellent. F# on .Net Core is now a powerful alternative to Node.js.
"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 makes things so much easier. I don't understand why people wouldn't use it."
"That's really more like functional programming"
"...."
Edit:formatting