-
F# 5: A New Era of Functional Programming with .NET
Last updated: Wednesday, August 31, 2022
Published in: CODE Focus Magazine: 2020 - Vol. 17 - Issue 1 - .NET 5.0
Microsoft has updated F# 5 with new features that include FSI in .NET Core and support for packages in NuGet. Plus F# 5 now supports Jupyter Notebooks as well as Visual Studio Code Notebooks, and more.
-
Writing Concurrent Programs Using F# Mailbox Processors
Last updated: Monday, May 17, 2021
Published in: CODE Magazine: 2017 - July/August
Rachel takes a close look at F# mailbox processors to help you efficiently process messages. She covers replying, scanning (for a particular message or subject), and coordinating multiple agents, and makes it easy once you know which connections to make.
-
Tooling for Your .NET Projects
Last updated: Wednesday, May 19, 2021
Published in: CODE Magazine: 2017 - May/June
You’ve been plodding along, nose to the grindstone, and you might not have realized that there are some useful tools out there that can make your .NET projects a little more fun to build. Rachel explores Paket, F# Formatting, and FAKE.
-
Accessing Your Data with F# Type Providers
Last updated: Monday, May 24, 2021
Published in: CODE Magazine: 2017 - March/April
You can access just about any data with type providers, whether in XML, JSON, or APIs. Rachel shows us how, plus a nifty new Swagger type provider.
-
Case Study: Writing Microservices with F#
Last updated: Wednesday, June 2, 2021
Published in: CODE Magazine: 2016 - November/December
If you’re lucky enough to be involved in building a new enterprise system, you’ll want to check this out. Rachel takes a look at how the company where she works made some interesting—and forward-looking—decisions, and she shows us the benefits of microservices while she’s at it.
-
Why F#
Last updated: Saturday, April 22, 2023
Published in: CODE Magazine: 2016 - May/June
Functional programming is all the rage and Microsoft's foray into the functional world is called F#. Rachel introduces you to this first-class functional language with the ability to harness the rich .NET ecosystem.
-
Smashing the Myth: Why You Must Learn F# - Even If You Aren’t Writing Rocket Science Apps
Last updated: Tuesday, February 19, 2019
Published in: CODE Magazine: 2012 - March/April
If you are a .NET software developer, you have heard of F#. You may have read an article, seen a talk at a user group, or otherwise heard the buzz. However, if those means of reaching you have failed, at the very least, you have noticed it conspicuously appear in the list of languages you can base a solution on in Visual Studio 2010. If you write code on the .NET Framework, you would have to be living under a rock to have not heard of F#.
-
ThoughtWorking: Functional Programming in C# 2.0
Last updated: Thursday, February 21, 2019
Published in: CODE Magazine: 2009 - May/June
Writing software is hard, particularly when the tools you use force you to think at too low a level; it’s time to start thinking about changing the way you write code… by making it easier to write code.Taking on new ways to program doesn’t always mean tossing away your favorite programming language or environment. Sometimes it just means taking a new look at how you’re using your language and trying out a few new ideas. It’s time to take a hard look at your favorite language and see if it’s possible to “fall in love all over again”.
-
F# 101
Last updated: Tuesday, February 19, 2019
Published in: CODE Magazine: 2008 - September/October
F#, the latest member of the Visual Studio family of languages, offers some enticing advantages over C# and Visual Basic, stemming from its functional-object fusion nature.Originally a research language from Microsoft Research, F# has long been a “secret weapon” in the arsenal of .NET programmers for doing statistical- and mathematical-heavy coding. More recently, however, a growing number of developers have begun to see the inherent advantages implicit in writing functional code, particularly in the areas of concurrency. The buzz has begun to approach interesting levels, particularly on the heels of an announcement last year from the head of the Microsoft Developer Division, Somasegar, that F# would be “productized” and fully supported by Microsoft as a whole, suddenly removing the stigma and licensing restrictions that surround research projects.
-
From Delegate to Lambda
Last updated: Tuesday, February 19, 2019
Published in: CODE Magazine: 2008 - September/October
The key to understanding lambda expressions is understanding delegates. Delegates play a tremendously important role in developing applications for the .NET Framework, especially when using C# or Visual Basic. Events, a special application of delegates, are used all over the framework. And the application and possibilities of delegates has only grown over time. C# 2.0 introduced the concept of anonymous methods and C# 3.0 and VB 9 take anonymous methods to the next level with lambda expressions. This article reviews the evolution of delegates and examines possibilities and syntax of delegates and lambdas in .NET 3.5.
-
Printing Envelopes, and Lambda Expressions
Last updated: Wednesday, February 20, 2019
Published in: CODE Magazine: 2007 - September/October
.Finalize() column for Sept/Oct 2007
-
101 Windows Phone 7 Apps, Volume I: Developing Apps 1-50- Chapter 2 Flashlight -
Last updated: Wednesday, August 31, 2022
Published in: Book Excerpts
This excerpt is from the new book, ‘101 Windows Phone 7 Apps, Volume I: Developing Apps 1-50’, authored by Adam Nathan, published April 2011, ISBN 0672335522, Copyright 2011. For more info, please visit the publisher site http://www.informit.com/store/product.aspx?isbn=0672335522
-
An Overview of Go in Five Examples - Chapter 1
Last updated: Thursday, February 21, 2019
Published in: Book Excerpts
By Mark Summerfield, Published May 4, 2012 by Addison-Wesley Professional. Part of the Developer's Library series. Copyright 2012 Book ISBN-10: 0-321-77463-9 ISBN-13: 978-0-321-77463-7. Mark Summerfield provides a series of five explained examples of the Go programming language. Although the examples are tiny, each of them (apart from "hello who?") does something useful, and between them they provide a rapid overview of Go's key features and some of its key packages.
-
Fluent C#: Chapter 1 - Application Development
Last updated: Saturday, January 18, 2020
Published in: Book Excerpts
Fluent C# By Rebecca M. Riordan, Published Oct 12, 2011 by Sams. Copyright 2012. Sample Chapter is provided courtesy of Sams Publishing.
-
Imperative to Functional Programming Succinctly
Last updated: Wednesday, February 20, 2019
Published in: Book Excerpts, Newsletters
Functional programming is fundamentally different from imperative programming. As such, it provides a unique approach to solving problems—one that requires developers to transform how they think about software design and implementation. With Imperative to Functional Programming Succinctly by Marc Clifton, you will learn many of the basic concepts involved with functional programming, such as currying, partial application, function pipelines, recursion, and continuations. By book's end, you will learn how to combine functional and imperative programming to get the most out of your solutions.