Search  
RU EN
Books for developers

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

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

Author:
Year:
Pages:
408
Views:
1170
Stylish F#. Crafting Elegant Functional Code for .Net and .Net Core favorites 0
Description

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

Similar
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....
Real-Time Web Application Development
Автор: Rami Vemula
Год: 2017
Design, develop, and deploy a real-world web application by leveraging modern open source technologies. This book shows you how to use ASP.NET Core to build cross-platform web applications along with SignalR to enrich the application by enabling real-time communication between...
C# 6 and .NET Core 1.0 Modern Cross-Platform Development
Автор: Mark J. Price
Год: 2016
With the release of .NET Core 1.0, you can now create applications for Mac OS X and Linux, as well as Windows, using the development tools you know and love. C# 6 and .NET Core 1.0 has been divided into...
Modern Data Access with Entity Framework Core
Автор: Holger Schwichtenberg
Год: 2018
C# developers, here’s your opportunity to learn the ins-and-outs of Entity Framework Core, Microsoft’s recently redesigned object-relational mapper. Benefit from hands-on learning that will teach you how to tackle frustrating database challenges, such as workarounds to missing features in Entity...
Send message
Type
Email
Your name
*Message