Stylish F# 6: Crafting Elegant Functional Code for .NET 6, 2nd Edition
- Length: 444 pages
- Edition: 2
- Language: English
- Publisher: Apress
- Publication Date: 2021-12-21
- ISBN-10: 1484272048
- ISBN-13: 9781484272046
- Sales Rank: #369161 (See Top 100 Books)
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
Cover Front Matter 1. The Sense of Style 2. Designing Functions Using Types 3. Missing Data 4. Working Effectively with Collection Functions 5. Immutability and Mutation 6. Pattern Matching 7. Record Types 8. Classes 9. Programming with Functions 10. Asynchronous and Parallel Programming 11. Railway Oriented Programming 12. Performance 13. Layout and Naming 14. Summary Back Matter
Donate to keep this site alive
How to download source code?
1. Go to: https://github.com/Apress
2. In the Find a repository… box, search the book title: Stylish F# 6: Crafting Elegant Functional Code for .NET 6, 2nd Edition
, sometime you may not get the results, please search the main title.
3. Click the book title in the search results.
3. Click Code to download.
1. Disable the AdBlock plugin. Otherwise, you may not get any links.
2. Solve the CAPTCHA.
3. Click download link.
4. Lead to download server to download.