Stylish F#: Crafting Elegant Functional Code for .NET and .NET Core
Book information
Description
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. Stylish F# 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'll 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 Front Matter ....Pages i-xxii The Sense of Style (Kit Eason)....Pages 1-9 Designing Functions Using Types (Kit Eason)....Pages 11-28 Missing Data (Kit Eason)....Pages 29-59 Working Effectively with Collection Functions (Kit Eason)....Pages 61-98 Immutability and Mutation (Kit Eason)....Pages 99-118 Pattern Matching (Kit Eason)....Pages 119-155 Record Types (Kit Eason)....Pages 157-182 Classes (Kit Eason)....Pages 183-227 Programming with Functions (Kit Eason)....Pages 229-250 Asynchronous and Parallel Programming (Kit Eason)....Pages 251-281 Railway Oriented Programming (Kit Eason)....Pages 283-307 Performance (Kit Eason)....Pages 309-350 Layout and Naming (Kit Eason)....Pages 351-376 Summary (Kit Eason)....Pages 377-384 Back Matter ....Pages 385-396
Similar books
Stylish F# 6: Crafting Elegant Functional Code for .NET 6
2021 · PDF
Stylish F# 6: Crafting Elegant Functional Code for .NET 6
2021 · EPUB
Stylish F# 6: Crafting Elegant Functional Code for .NET 6
2021 · PDF
Stylish F#. Crafting elegant functional Code for .NET and .NET Core
2018 · PDF
Beginning F# 4.0
2016 · EPUB
Beginning F# 4.0, 2nd Edition
2016 · PDF
MySQL® Notes for Professionals book
2018 · PDF
MrExcel 2022: Boosting Excel
2022 · PDF