You don't have to pay, but you do have to vote! Login and vote now.
By mswatcher
via diditwith.net
Published: Feb 21 2008 / 12:08
Greetings fellow F#-philes! Today we're looking at another reason that I am completely infatuated with the F# language—pattern matching.
Pattern matching is a simple idea. Essentially, a pattern match takes an input and a set of rules. Each rule tests the input against a pattern and returns a result if they match.
Comments
signal9 replied ago:
pattern matching is great; functional programming languages have been using it for years. F# is a neat language, but is going to take years before it is ready for commercial release (it only became an official language recently).
dengar007 replied ago:
It's officially supported though -- that's a huge step.
reido56 replied ago:
I'm not sure what's meant by "commercial release". Its compiler, libraries, and VS plugin are freely available. I thought that most languages do that now?
cls2deg replied ago:
I think the point is that, at the moment, it's really still a research language. For example, it's recommended that anyone shipping a product written in F#, use the --stand-alone compiler switch to link in the libraries because they're still in flux. However, I'm not sure that I agree with the assessment that it will "take years before it is ready for commercial release."
Voters For This Link (9)
Voters Against This Link (0)