Название: F# in Action (Final Release) Автор: Isaac Abraham Издательство: Manning Publications Год: 2024 Страниц: 336 Язык: английский Формат: pdf, epub (true), mobi Размер: 13.2 MB
F# is engineered to make functional programming practical and accessible. This book will get you started writing your first simple, robust, and high performing functional code.
F# lets you keep your code simple even in the most complex applications—and it’s the perfect language for taking your first steps in functional programming. This practical, example-driven guide shows you how to build professional applications the F# way.
In F# in Action you will learn how to:
Write performant and robust systems with succinct F# code Model domains quickly, easily and accurately with F#’s type system Design solutions using functional programming patterns Ingest and process disparate data sources Develop data-driven web applications Unit test F# code Effectively model data using a variety of techniques Use scripts to rapidly explore domains
F# in Action is based on author and Microsoft F# MVP Isaac Abraham’s years of experience working with developers as an F# consultant. It upgrades .NET development skills with the core principles of functional programming, and you’ll soon see how F#’s functional-first approach makes it easy to learn this powerful paradigm.
About the technology
F# is a uniquely powerful programming language. Its “light touch” approach to functional programming helps you deliver error-free code without a lot of complex math and academic theory. Simply put, F# exists to help you write better software faster, and this book will show you how.
F# is what I call a “Yes, and ...” language. In improvisational comedy, an improviser accepts what has been said (“yes”) and expands on the line of thinking (“and ...”). The F# language design and its ecosystem, toolset, and community adopt a similar philosophy to building software. F# is comfortable for developers from almost any programming background (“yes”), and it adds functional programming idioms that open up an entirely different programming ecosystem (“and ...”).
F# in Action exemplifies the “Yes, and ... ” concept thoroughly. From the very beginning, the tone is clear: F# is a good fit for many different kinds of applications. You’ll find no ivory towers here, demanding that you rethink everything you know about software, rewrite all your code, and permanently try to jam the purest of functional programming into every bit of your software development life. Instead, the idea that F# is a functional programming language that can bring with it a different way of writing software is rightfully presented as secondary to the productivity gained from writing succinct code in conjunction with a rich ecosystem of libraries and tools.
In this book, you’ll find one, if not the most practical, approach to learning the F# language. You’ll be rooted in what the F# language community often refers to as “the F# way,” a set of principles and language idioms that produce succinct, robust performance, and uniform code. This last point is worth emphasizing: in modern software development, uniformity matters. When developers search for ways to solve a problem in F#, they are often greeted by similar-looking code (that uses similar features) for similar problems. This principle is foundational to F# in Action throughout all of its examples, whether it’s the simple data transformations you learn at first or full-stack web application development toward the end.
About the book
F# in Action teaches you to write professional quality applications in F#. For each concept, feature, and technique you’ll find hands-on examples, starting with simple data transformations and progressing all the way to a full-size web app. Throughout the book, you’ll take advantage of battle-tested .NET tools to take on a wide range of tasks—from data analysis to interoperability with C#.
What's inside
Model domains with F#’s type system Ingest and process disparate data sources Unit test F# code Use scripts to rapidly explore domains
About the reader For readers comfortable with any OO or FP language. Prior .NET knowledge not required!
About the author Isaac Abraham is an experienced .NET developer, trainer, and Microsoft MVP for his contributions to the .NET community. Technical editor on this book was Michael Ciccotti.
1 Introducing F# 2 Hands on with F# 3 F# Syntax Basics 4 F# Fundamentals 5 Shaping data 6 Functions and modules 7 Working with collections 8 Patterns and unions 9 Building rich domains 10 Working effectively with data 11 F# Interop 12 Asynchronous programming 13 Web programming 14 Testing F# code 15 Pure functional programming 16 Where next?
Внимание
Уважаемый посетитель, Вы зашли на сайт как незарегистрированный пользователь.
Мы рекомендуем Вам зарегистрироваться либо войти на сайт под своим именем.
Информация
Посетители, находящиеся в группе Гости, не могут оставлять комментарии к данной публикации.