3

Possible Duplicates:
What is F# being used for?
What are the benefits of using C# vs F# or F# vs c#

I have recently studied C#, WPF, a little bit of WCF and now I have read that Visual Studio 2010 will also support F#.

My question is: what kind of application is likely to need F# instead of C# or Visual Basic?

Is F# necessary to build Windows applications, which can already be written using C# and WPF?

Community
  • 1
  • 1
Maurizio Reginelli
  • 3,152
  • 2
  • 27
  • 41
  • 1
    If we interpret this as "What are the use cases that F# is intended to handle well", then it's not subjective or argumentative. – Steven Sudit Feb 23 '10 at 21:59
  • Thank you for editing the title of my question. Now it is more clear. – Maurizio Reginelli Feb 23 '10 at 21:59
  • 1
    @Maurizio. Hope you don't mind by I changed the title to something a bit less subjective. You stand a better chance of it not being closed this way. – Simon P Stevens Feb 23 '10 at 22:00
  • "Is it necessary to build Windows applications, which are so excellent when written using C# and WPF?" - can't understand that sentence, could you rephrase it? – user76035 Feb 23 '10 at 22:00
  • @wwosik I think that the new title of my question express what I mean with that sentence. I'm sorry, but my english is not very good. – Maurizio Reginelli Feb 23 '10 at 22:04
  • 1
    I think this should be re-opened. with the re-woreded title I don't see how this is subjective or augmentative. He is asking what are the reasons for choosing F#, or if there are any kinds of applications that would be better suited to F#. – Simon P Stevens Feb 23 '10 at 22:05
  • 1
    There are already questions that address that; many are linked from this post, http://stackoverflow.com/questions/1625882/ – nlucaroni Feb 23 '10 at 22:11
  • Thank you Simon. I read other really "subjective and argumentative" questions in this site, and I don't think that mine is worse than those. – Maurizio Reginelli Feb 23 '10 at 22:18
  • 3
    Here is another one that has some good answers: http://stackoverflow.com/questions/952318/what-are-the-benefits-of-using-c-vs-f-or-f-vs-c – Simon P Stevens Feb 23 '10 at 22:19
  • @those people who closed my question: Why stackoverflow.com/questions/36756/f-what-are-you-using-it-for was not closed? Isn't it "subjective and argumentative"? – Maurizio Reginelli Feb 23 '10 at 22:20
  • @Simon thank you for providing to me another post where I can read the answers I'm looking for. – Maurizio Reginelli Feb 23 '10 at 22:21
  • 2
    Don't take it too personally Maurizio. essentially I don't think it matters any more. There are plenty of duplicates so the question is basically answered. I suspect it was closed as subjective at least partly because of the original title, which in fairness was a bit subjective. Had it not been closed for that reason though, it would have been closed as a duplicate anyway. – Simon P Stevens Feb 23 '10 at 22:28

1 Answers1

2

"what kind of application need F# instead of C# or Visual Basic?" - None. It's just another way of expressing the concepts, although quite more different from both C# and VB and they differ among themselves.

user76035
  • 1,526
  • 1
  • 10
  • 12
  • Ok, but are there use cases where F# is better than the existing languages? – Maurizio Reginelli Feb 23 '10 at 22:06
  • 1
    F# brings you type safe, succinct, efficient and expressive functional programming language on the .NET platform. It is a simple and pragmatic language, and has particular strengths in data-oriented programming, parallel I/O programming, parallel CPU programming, scripting and algorithmic development. It lets you access a huge .NET library and tools base and comes with a strong set of Visual Studio development tools. F# combines the advantages of typed functional programming with a high-quality, well-supported modern runtime system. – Michal Ciechan Feb 25 '10 at 12:24