News for hackers. Stuff that matters.
Re:Project Springfield: A Cloud Service Built in F# by KirinDave on Wednesday December 14, 2016 @05:05PM (#13180080)
It feels like Microsoft is starting to get more vocal about pushing F#. Worth noting that Visual Studio/Xamarin for Mac is prominently offering F# for Android and iOS out of the box now as well.
Re:Project Springfield: A Cloud Service Built in F# by FrancoDiaz on Wednesday December 14, 2016 @10:39PM (#13182185)
Just wish resharper would get on the bandwagon.
Re:Project Springfield: A Cloud Service Built in F# by hkon on Wednesday December 14, 2016 @05:56PM (#13180498)
If I just wait a bit longer, more features from F# will be available in C#. Still not making the jump. So close.
Re:Project Springfield: A Cloud Service Built in F# by mcintyre1994 on Thursday December 15, 2016 @05:43AM (#13183699)
This article is worth a read: https://fsharpforfunandprofit.com/posts/is-your-language-unr...

It approaches from the other side - I don't care what the language lets me do, but what it doesn't. I think it's quite controversial and the examples are a bit contrived, but I found it really interesting.

Re:Project Springfield: A Cloud Service Built in F# by djedipus on Wednesday December 14, 2016 @06:01PM (#13180549)
?? Would you be more likely I make the jump if C# had more of F# features or less likely.

I wouldn't hold my breath for anything approaching parity.

Re:Project Springfield: A Cloud Service Built in F# by hkon on Wednesday December 14, 2016 @06:13PM (#13180649)
Nope, but pattern matching will be in vNext.
Re:Project Springfield: A Cloud Service Built in F# by platz on Wednesday December 14, 2016 @06:24PM (#13180736)
It's not the same thing.

C# "Pattern Matching" is little more than destructuring or switch on steroids.

However, much like how the compiler assists you when writing subclasseses so that you've implemented all the required methods, real Pattern Matching (F#) gives you the same guarantees from the compiler that you've handled all the possible cases appropriately. This makes real F# pattern matching much more useful than "switch with destructuring" and helps you grow your programs in a safe way. The C# way has all the same problems as the switch statement which gives no feedback about what cases you've handled.

Re:Project Springfield: A Cloud Service Built in F# by hkon on Wednesday December 14, 2016 @06:30PM (#13180773)
That sounds awesome.
Re:Project Springfield: A Cloud Service Built in F# by tjalfi on Wednesday December 14, 2016 @11:18PM (#13182363)
The Yaron Minksy talk Effective ML (https://vimeo.com/14313378) has examples of using pattern matching and algebraic data types.
Re:Project Springfield: A Cloud Service Built in F# by pluglus on Wednesday December 14, 2016 @02:26PM (#13178898)
I signed up a while back. Still waiting for my credentials...
Re:Project Springfield: A Cloud Service Built in F# by ungzd on Wednesday December 14, 2016 @02:33PM (#13178960)
It's because of lazy evaluation.
Re:Project Springfield: A Cloud Service Built in F# by mercurial on Wednesday December 14, 2016 @04:41PM (#13179913)
This joke works better with Haskell.
Re:Project Springfield: A Cloud Service Built in F# by nickpeterson on Wednesday December 14, 2016 @02:46PM (#13179051)
Hah!
Re:Project Springfield: A Cloud Service Built in F# by dewiz on Wednesday December 14, 2016 @04:47PM (#13179958)
The registration is not functional yet
Re:Project Springfield: A Cloud Service Built in F# by pjmlp on Thursday December 15, 2016 @02:10PM (#13187228)
The comments describing the internal politics between DevTools and WindowsDev are also interesting to read.
Re:Project Springfield: A Cloud Service Built in F# by Rapzid on Thursday December 15, 2016 @04:43AM (#13183488)
F# needs a Phoenix badly.
Re:Project Springfield: A Cloud Service Built in F# by Nelkins on Thursday December 15, 2016 @09:32AM (#13184748)
https://suave.io/ seems like a reasonable contender.
Re:Project Springfield: A Cloud Service Built in F# by somedangedname on Thursday December 15, 2016 @05:17AM (#13183600)
Does Pheonix have a home page or a repo on github? Searching only turns up job ads in Arizona.
Re:Project Springfield: A Cloud Service Built in F# by thijsvandien on Thursday December 15, 2016 @06:38AM (#13183893)
I suppose it refers to a web framework for Elixir: http://www.phoenixframework.org
Re:Project Springfield: A Cloud Service Built in F# by Rapzid on Friday December 16, 2016 @12:52AM (#13191349)
Exactly. I was exposed to elixir/phoenix and could not help but think "man, typespecs is the best we get? wish this were F#". But alas, all the momentum and mindshare is being sucked up by elixir/phoenix. If F# could replicate that somehow that would be AMAZING.

I don't mean to knock Elixir/Phoenix though. They are very cool and intersting. Erlang/beam is.. interesting. But F#'s tooling is just fantastic.