Автор: Isaac Abraham
Издательство: Manning Publications
Год: 2023
Страниц: 257
Язык: английский
Формат: pdf, epub
Размер: 10.1 MB
F# is designed to make functional programming practical and accessible, especially for developers working on the .NET platform. This book will get you started.
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 teaches you the practical F# development skills you need to create professional applications. It’s based on author and Microsoft F# MVP Isaac Abraham’s years of experience working with developers as an F# consultant. You’ll upgrade your .NET development skills with the core principles of functional programming, and discover how F#’s functional-first approach makes it easy to learn this powerful paradigm.
When I wrote “Get Programming With F#” (GPWF) a few years back, I wanted to create a practical, pragmatic and easy to understand guide to using F# for real-world applications. Whilst the book achieved those goals and has received positive feedback, some parts of it quickly aged due to circumstances outside of my control: The release of .NET Core. When I started the book, .NET Core wasn’t even a real thing – it was called DNX at the time and didn’t have a clearly publicized vision of where it was going (or even that it would in time replace the .NET Framework). But today, .NET Core is both the present and future of .NET development; this presented certain challenges for GPWF:
- The book focused on .NET Framework.
- The book focused on Windows development, and tooling. F# is now a first-class cross-platform language with associated tooling.
- Even worse, many of the libraries and frameworks that almost half of the book focused on were either rendered outdated or completely obsolete by the advent of .NET Core.
F# In Action is my answer to these challenges: a reimagined look at F# today, based not only on a more modern, cross-platform approach to F# but also updating my recommendations on how best to learn and use F# today, based on working day-in, day-out with a team of F# developers and engagements in the community for several years now. Nonetheless, the overall aims of this book are very similar to GPWF: to provide you with the knowledge to understand the fundamentals of F#, to be able to use it in a practical manner, and lastly to gain a smattering of knowledge of the core principles of functional programming.
about the technology
F# is a simple, robust, and highly performant programming language. It lets you keep your code simple in even the most complex applications, and its language core is perfect for learning the fundamentals of functional programming. F# runs on .NET, so you can work cross-platform and take advantage of battle-tested .NET components. It’s succinct and flexible—perfect for everything from command line tools, to web apps, to data analysis and machine learning.
F# is a general-purpose programming language that’s designed to build systems that are robust, succinct and performant across Windows, Mac and Linux. It has a lightweight syntax, yet a powerful type-system and compiler. This makes it a compelling choice for writing applications, as it enables developers to rapidly model real-world systems in a way that does what they intend. It’s also an opinionated language with a set of characteristics that it is optimized towards.
And as F# runs on the modern, lightweight and cross-platform .NET Core runtime, it has a large, mature ecosystem of free and commercial tools and libraries, ranging from web servers, database access, cloud, data and analytical libraries, actor frameworks, and more. This means that you won’t have to create entire platforms yourself, but instead re-use existing battle-tested components that are already out there, leaving you to focus on delivering business value. You can seamlessly interoperate with C# code, creating hybrid F# / C# solutions if required – so if you’re already using .NET, much of what you already know about the platform will continue to apply.
about the book
F# in Action swiftly guides you from Functional Programming novice all the way to putting F# applications into production! It leverages your existing knowledge of software development and the .NET platform to get you up-and-running fast. You’ll quickly master the F# you need to start getting stuff done. Learn how you can use scripts to rapidly explore .NET libraries and packages, and level up your .NET skills for data exploration and analysis. You’ll even discover how F#’s “light touch” approach to functional programming ensures error-free code without the complex math you might normally associate with FP.
Скачать F# in Action (MEAP V05)