Stylish F# 6 (eBook)
XXII, 422 Seiten
Apress (Verlag)
978-1-4842-7205-3 (ISBN)
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
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 stock 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.
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 styleUse collection functions, piping, and function composition to build working software quicklyBe aware of the techniques available to bring error handling into the mainstream of program logicOptimize F# code for maximum performanceIdentify and implement opportunities to use function injection to improve program designAppreciate the methods available to handle unknown data valuesUnderstand asynchronous and parallel programming in F#, and how it differs from C# asynchronous programmingExploit records and anonymous records as low-overhead, easily comparable containers for structured data Who This Book Is ForAny developer who writes F# code and wants to write it better
Erscheint lt. Verlag | 3.12.2021 |
---|---|
Zusatzinfo | XXII, 422 p. 47 illus. |
Sprache | englisch |
Themenwelt | Mathematik / Informatik ► Informatik ► Programmiersprachen / -werkzeuge |
Mathematik / Informatik ► Informatik ► Software Entwicklung | |
Informatik ► Theorie / Studium ► Compilerbau | |
Schlagworte | C# • Clean Code • Don Syme • F# • F# coding style • F# development style • F# programming style • Functional Programming • F# Visual Studio • monads • .NET |
ISBN-10 | 1-4842-7205-6 / 1484272056 |
ISBN-13 | 978-1-4842-7205-3 / 9781484272053 |
Informationen gemäß Produktsicherheitsverordnung (GPSR) | |
Haben Sie eine Frage zum Produkt? |
Größe: 5,1 MB
DRM: Digitales Wasserzeichen
Dieses eBook enthält ein digitales Wasserzeichen und ist damit für Sie personalisiert. Bei einer missbräuchlichen Weitergabe des eBooks an Dritte ist eine Rückverfolgung an die Quelle möglich.
Dateiformat: PDF (Portable Document Format)
Mit einem festen Seitenlayout eignet sich die PDF besonders für Fachbücher mit Spalten, Tabellen und Abbildungen. Eine PDF kann auf fast allen Geräten angezeigt werden, ist aber für kleine Displays (Smartphone, eReader) nur eingeschränkt geeignet.
Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen dafür einen PDF-Viewer - z.B. den Adobe Reader oder Adobe Digital Editions.
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen dafür einen PDF-Viewer - z.B. die kostenlose Adobe Digital Editions-App.
Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.
aus dem Bereich