Frameworks

The Key of F#: 3 Questions with F# Creator Don Syme

Why was F# invented? What are its best -- and worst -- uses?

F# is growing in usage, and many developers are anxious to find out what it can do. So I asked Don Syme, the creator of F#, and his team some questions about the language.

Q: Why was F# created? What need does it serve?
Don Syme: When you look at examples across the industry, the common need is for a simple, succinct, efficient and typed language that allows math-oriented and domain experts to work in their problem domain, rather than get lost in a sea of object-oriented and class-oriented code, while still contributing professional software components that interoperate well. That's where F# fits in.

The special thing about F# is that we manage to get most of the benefits of dynamic language (rapid development and succinctness) while also still retaining the benefits of strongly typed languages (robustness, performance and visual tooling), all in the context of a highly interoperable platform.

In what scenarios would F# be a bad solution?
F# is designed as a value-add language to augment what's already there in .NET. This means that you shouldn't see it as a wholesale replacement for C#, Visual Basic and C++. For example, we don't advocate rewriting components just to move them to F#. Likewise, we don't advocate writing line-of-business apps with F#.

What are some of the most requested F# features your team is working on for future versions?
F# tooling in Visual Studio 2010 consists of IntelliSense, quick info, interactive type checking, projects, debugging and F# Interactive. People often ask for additions and improvements to this tooling. In some cases we'll be making the improvements ourselves; for example, in IntelliSense.

About the Author

Keith Ward is the editor in chief of Virtualization & Cloud Review. Follow him on Twitter @VirtReviewKeith.

comments powered by Disqus

Featured

  • Cloud-Focused .NET Aspire 9.1 Released

    Along with .NET 10 Preview 1, Microsoft released.NET Aspire 9.1, the latest update to its opinionated, cloud-ready stack for building resilient, observable, and configurable cloud-native applications with .NET.

  • Microsoft Ships First .NET 10 Preview

    Microsoft shipped .NET 10 Preview 1, introducing a raft of improvements and fixes across performance, libraries, and the developer experience.

  • C# Dev Kit Previews .NET Aspire Orchestration

    Microsoft's dev team has been busy updating the C# Dev Kit, a Visual Studio Code extension that enhances the C# development experience by providing tools for managing, debugging, and editing C# projects.

  • Hands On: New VS Code Insiders Build Creates Web Page from Image in Seconds

    New Vision support with GitHub Copilot in the latest Visual Studio Code Insiders build takes a user-supplied mockup image and creates a web page from it in seconds, handling all the HTML and CSS.

  • Naive Bayes Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the naive Bayes regression technique, where the goal is to predict a single numeric value. Compared to other machine learning regression techniques, naive Bayes regression is usually less accurate, but is simple, easy to implement and customize, works on both large and small datasets, is highly interpretable, and doesn't require tuning any hyperparameters.

Subscribe on YouTube

Upcoming Training Events