Authors:
The most practical guide yet to succeeding with F# in the real world
Written for developers to take the F# programming experience beyond syntax and into design
Provides supporting visuals and examples for every assertion
Buy it now
Buying options
Tax calculation will be finalised at checkout
Other ways to access
This is a preview of subscription content, access via your institution.
Table of contents (14 chapters)
-
Front Matter
-
Back Matter
About this book
Why just get by in F# when you can program in style. This book goes beyond syntax and into design. It provides F# developers with best practices, guidance, and advice to write beautiful, maintainable, and correct code. This second edition, fully updated for .NET 6 and F# 6, includes all new coverage of anonymous records, the task {} computation expression, and the relationship between types and modules.
Stylish F# 6 covers every design decision that a developer makes in constructing F# programs, helping you make the most educated and valuable design choices at every stage of code development. You will learn about the design of types and function signatures, the benefits of immutability, and the uses of partial function application. You will understand best practices for writing APIs to be used by F#, C#, and other languages. Each carefully vetted design choice is supported with compelling examples, illustrations, and rationales.
What You Will Learn
- Know why, when, and how to code in immutable style
- Use collection functions, piping, and function composition to build working software quickly
- Be aware of the techniques available to bring error handling into the mainstream of program logic
- Optimize F# code for maximum performance
- Identify and implement opportunities to use function injection to improve program design
- Appreciate the methods available to handle unknown data values
- Understand asynchronous and parallel programming in F#, and how it differs from C# asynchronous programming
- Exploit records and anonymous records as low-overhead, easily comparable containers for structured data
Who This Book Is For
Any developer who writes F# code and wants to write it better
Keywords
- F#
- C#
- .NET
- Don Syme
- Functional Programming
- monads
- F# programming style
- F# coding style
- F# Visual Studio
- F# development style
- clean code
Authors and Affiliations
-
Farnham, Surrey, UK
Kit Eason
About the author
Bibliographic Information
Book Title: Stylish F# 6
Book Subtitle: Crafting Elegant Functional Code for .NET 6
Authors: Kit Eason
DOI: https://doi.org/10.1007/978-1-4842-7205-3
Publisher: Apress Berkeley, CA
eBook Packages: Professional and Applied Computing, Professional and Applied Computing (R0), Apress Access Books
Copyright Information: Kit Eason 2022
Softcover ISBN: 978-1-4842-7204-6Published: 04 December 2021
eBook ISBN: 978-1-4842-7205-3Published: 03 December 2021
Edition Number: 2
Number of Pages: XXII, 422
Number of Illustrations: 47 b/w illustrations
Topics: Microsoft and .NET, Programming Techniques, Programming Languages, Compilers, Interpreters