Stylish F# 6: Crafting Elegant Functional Code for .NET 6
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

1139643233
Stylish F# 6: Crafting Elegant Functional Code for .NET 6
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

64.99 In Stock
Stylish F# 6: Crafting Elegant Functional Code for .NET 6

Stylish F# 6: Crafting Elegant Functional Code for .NET 6

by Kit Eason
Stylish F# 6: Crafting Elegant Functional Code for .NET 6

Stylish F# 6: Crafting Elegant Functional Code for .NET 6

by Kit Eason

Paperback(Second Edition)

$64.99 
  • SHIP THIS ITEM
    In stock. Ships in 1-2 days.
  • PICK UP IN STORE

    Your local store may have stock of this item.

Related collections and offers


Overview

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


Product Details

ISBN-13: 9781484272046
Publisher: Apress
Publication date: 12/04/2021
Edition description: Second Edition
Pages: 422
Product dimensions: 7.01(w) x 10.00(h) x (d)

About the Author

Kit Eason is a software developer and educator with more than 20 years of experience. He has been programming in F# since 2011 and is employed at Perpetuum Ltd., working on an extensive network of energy-harvesting vibration sensors fitted to railway rolling sk and infrastructure. Kit is an avid F# user who is passionate about teaching others. He has contributed to several publications, including Apress books Beginning F# and F# Deep Dives. He often teaches on the topic of F# and his popular videos appear on Udemy and Pluralsight.

Table of Contents

Chapter 1: The Sense of Style.- Chapter 2: Designing Functions Using Types.- Chapter 3: Missing Data.- Chapter 4: Working Effectively with Collection Functions.- Chapter 5: Immutability and Mutation.- Chapter 6: Pattern Matching.- Chapter 7: Record Types.- Chapter 8: Classes.- Chapter 9: Programming With Functions.- Chapter 10: Asynchronous and Parallel Programming.- Chapter 11: Railway Oriented Programming.- Chapter 12: Performance.- Chapter 13: Layout and Naming.- Chapter 14: Summary.

From the B&N Reads Blog

Customer Reviews