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
Просмотров:
1170
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#, и хочет писать его лучше.

Похожее
Pro ASP.NET Core MVC 2, Seventh Edition
Автор: Adam Freeman
Год: 2017
Now in its 7th edition, the best selling book on MVC is updated for ASP.NET Core MVC 2. It contains detailed explanations of the Core MVC functionality which enables developers to produce leaner, cloud optimized and mobile-ready applications for the...
C# 7 and .NET Core: Modern Cross-Platform Development, 2nd Edition
Автор: Mark J. Price
Год: 2017
C# has recently been made open source and now supports cross-platform development for Linux, macOS, and Windows. It can be used to create everything from business applications, websites, and services to games for Android and iOS mobile phones and Xbox...
Building Single Page Applications in .NET Core 3
Автор: Michele Aponte
Год: 2020
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...
Написать сообщение
Тип
Почта
Имя
*Сообщение