RU EN
Книги для разработчиков

Stylish F#. Crafting Elegant Functional Code for .Net and .Net Core

Stylish F#. Crafting Elegant Functional Code for .Net and .Net Core

Автор:
Год:
Страниц:
408
Просмотров:
1175
Stylish F#. Crafting Elegant Functional Code for .Net and .Net Core favorites 0
Описание

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.
Who This Book Is For? Any developer who writes F# code and wants to write it better.

Зачем просто пользоваться F#, если вы можете программировать стильно! Эта книга выходит за рамки синтаксиса и дизайна. Она предоставляет разработчикам F# лучшие практики, рекомендации и советы по написанию красивого, удобного в обслуживании и правильного кода.
Стильный F# охватывает все дизайнерские решения, принимаемые разработчиками при создании F#-программ, помогая вам сделать наиболее правильный выбор дизайна на каждом этапе разработки кода. Вы узнаете о дизайне типов и сигнатур функций, преимуществах неизменяемости и использовании приложений с частичными функциями. Вы поймете лучшие практики написания API для F#, C# и других языков. Каждый тщательно проверенный пример дизайна кода подкрепляется убедительными примерами, иллюстрациями и обоснованиями.

Что вы узнаете:

почему, когда и как писать код в неизменном стиле;
когда использовать функции сбора данных, пайплайны и композиции функций для быстрого создания рабочего программного обеспечения;
какие имеются доступные методы, позволяющие сделать обработку ошибок основным направлением программной логики;
как оптимизировать код F# для максимальной производительности;
как определить и реализовать возможности использования инъекций функций для улучшения дизайна кода;
как использовать методы, доступные для обработки неизвестных значений данных;
как использовать асинхронное и параллельное программирование на F# и чем оно отличается от асинхронного программирования на C#.
Для кого эта книга? Для любого разработчика, который пишет код F#, и хочет писать его лучше.

Похожее
C# 7 and .NET Core Cookbook
Автор: Dirk Strauss
Год: 2017
Quick solutions to common programming problems with the latest features of C# 7.0, .NET Core 1.1, and Visual Studio 2017. C# has recently been open-sourced and C# 7 comes with a host of new features for building powerful, cross-platform applications....
Pro ASP.NET Core 3
Автор: Adam Freeman
Год: 2020
Now in its 8th edition, Pro ASP.NET Core has been thoroughly updated for ASP.NET Core 3. This comprehensive, full-color guide is the only book you need to learn ASP.NET Core development.Professional developers get ready to produce leaner applications for the...
Exploring Blazor
Автор: Taurius Litvinavicius
Год: 2019
Build and develop web applications with Blazor in C#. This book will cover all three types of Blazor – server-side, client-side, and hosted along with other features of the technology. You’ll see that Blazor is a web UI framework based...
Coding Clean, Reliable, and Safe REST APIs with ASP.NET Core 8
Автор: Anthony Giretti
Год: 2023
DescriptionLearn ASP.NET Core APIs delivered in its latest version of the Microsoft Framework .NET 8. This book will show you how to develop APIs with ASP.NET Core 8. Author Anthony Giretti will reveal all you need to know about HTTP...
Написать сообщение
Тип
Почта
Имя
*Сообщение