Link Details

You don't have to pay, but you do have to vote! Login and vote now.
Link 67286 thumbnail
User 225256 avatar

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.
  • 9
  • 0
  • 690
  • 236

Comments

Add your comment
User 275343 avatar

signal9 replied ago:

0 votes Vote down Vote up Reply

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).

User 247528 avatar

dengar007 replied ago:

0 votes Vote down Vote up Reply

It's officially supported though -- that's a huge step.

User 204981 avatar

reido56 replied ago:

0 votes Vote down Vote up Reply

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?

User 226150 avatar

cls2deg replied ago:

0 votes Vote down Vote up Reply

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."

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (9)



Voters Against This Link (0)