Автор: Charles Scalfani
Издательство: Leanpub
Год: 2021
Страниц: 1926
Язык: английский
Формат: pdf (true)
Размер: 64.5 MB
A Functional Programming book from beginner to advanced without skipping a single step along the way. Functional Programming is hard. Too hard. I struggled for years to learn a Functional Language with no definitive guide that takes you from knowing absolutely NOTHING to working as a Functional Programmer.
Functional Programming is clearly the future, which can be witnessed by looking at all the traditional languages slowly adopting Functional Features. But why compromise? Why not have all the power of a truly Functional Programming Language?
For most, moving from an Imperative Programming Language (jаvascript, Python, C#, Java, etc.) to a Functional Programming Language (Haskell, PureScript, etc.) has been very difficult and requires years of effort.
Well, no more. Functional Programming Made Easier will start you at the very beginning with the basics. The book assumes that you know nothing about Functional Programming. It takes you one baby step at a time from concept to concept until you’re working at the level of today’s working Functional Programmers.
The book alternates between a Lecture Chapter, where a new concept is introduced and we code together, followed by a Lab Chapter, where you do all the coding using that new concept. But fear not. Unlike Math books you encountered in school, I will show you ALL of the answers. Not only that, but I will write the code ONE LINE AT A TIME with an explanation of my thinking every step of the way.
When mistakes were made in coding or design, I left them in the book. Anyone who has programmed knows all too well that you never code anything correctly the first time. Your experience with this book will simulate that as much as possible. We’ll find the mistakes, analyze where I went wrong (sometimes purposely), and fix them together.
I never just throw code your way. I will ask you to write some code and if you are struggling, I will sometimes give you hints so you can give it another try. In the end, we will always code the solution one line at a time allowing you to follow along if you get stuck or to simply check your solution against mine if you complete the exercise.
The first half of the book is where you’ll learn new concepts. The second half is where you can apply what you’ve learned to build small programs. The final few chapters are where you’ll build a Full-Stack web server and browser-based front end written in a Purely Functional Programming Language, PureScript.
PureScript is a modern Haskell-like Purely Functional Programming Language that compiles to jаvascript making it the best Functional Programming Language for both the Browser and the Server (via Node). It’s so closely related to Haskell that all of the concepts you learn translate directly from PureScript to Haskell.
I’ve used this book over the past year to teach a team of developers who are all now building SaaS applications for customers in PureScript.
Who is This Book For?
This book is for the working programmer. However, that doesn’t mean that students cannot benefit. They just won’t appreciate the benefits like someone who has suffered and struggled with one or more Object Oriented Programming languages. My idealized reader is someone who has used at least one of the following languages or something similar: jаvascript, C#, Java, Python, Ruby, etc. They have been working for at least 2 years as a programmer. They value the same things I listed earlier and are looking to improve themselves and make programming a
more enjoyable experience.
Скачать Functional Programming Made Easier