Possible Duplicate:
In what areas might the use of F# be more appropriate than C#?
I'm trying to figure out what scenarios you would want to use a functional programming language like F# over 开发者_如何转开发other languages like C#. I know every programming language has it's own strengths which determine when you do and do not want to use it, and I'm trying to figure out F#'s strengths.
So far it seems like F# is only superior for things like database mining and running scientific simulations. Are there any other reasons why you would want to use F#? Or are object oriented languages like C# the better choice for the majority of applications?
Thanks
You should have a look at
http://msdn.microsoft.com/en-us/fsharp/gg634701
or
https://msdn.microsoft.com/en-us/library/gg634701.aspx
Strongly typed functional languages have one big advantage: many more bugs are caught at compile time, and they generally force you to think harder about what you're doing and how you're doing it (e.g. putting as much of the logic as possible into the types, so that many logic errors become compile-time errors) so you're more likely to avoid logic errors.
精彩评论