<p>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 cover
Stylish F#: Crafting Elegant Functional Code for .NET and .NET Core
โ Scribed by Kit Eason
- Publisher
- Apress
- Year
- 2018
- Tongue
- English
- Leaves
- 408
- Edition
- 1
- Category
- Library
No coin nor oath required. For personal study only.
โฆ Synopsis
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
โฆ Table of Contents
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
โฆ Subjects
.NET; Functional Programming; F#; Asynchronous Programming; Parallel Programming; Object-Oriented Programming; Programming Style; Performance Tuning
๐ SIMILAR VOLUMES
<p>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 cover
<p><span>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
Code. Learn how to apply a test-driven development process by building ready C# 7 and .NET Core applications. Key Features Create tests to quickly detect and resolve issues when writing portable code Uncover code integration issues that improve code quality using continuous integration Set up and us
<p><b>Learn how web applications can be built efficiently using ASP.NET Core 2.0 and related frameworks</b></p><h4>Key Features</h4><ul><li>Get to grips with the new features and APIs introduced in ASP.NET Core 2.0</li><li>Leverage the MVC framework and Entity Framework Core 2 to build efficient app