• Complain

Michal Plachta - Grokking Functional Programming

Here you can read online Michal Plachta - Grokking Functional Programming full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2022, publisher: Manning, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Michal Plachta Grokking Functional Programming
  • Book:
    Grokking Functional Programming
  • Author:
  • Publisher:
    Manning
  • Genre:
  • Year:
    2022
  • Rating:
    5 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 100
    • 1
    • 2
    • 3
    • 4
    • 5

Grokking Functional Programming: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Grokking Functional Programming" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Theres no need to fear going functional! This friendly, lively, and engaging guide is perfect for any perplexed programmer. It lays out the principles of functional programming in a simple and concise way that will help you grok what FP is really all about.
In Grokking Functional Programming you will learn:
Designing with functions and types instead of objects
Programming with pure functions and immutable values
Writing concurrent programs using the functional style
Testing functional programs
Multiple learning approaches to help you grok each new concept
If youve ever found yourself rolling your eyes at functional programming, this is the book for you. Open up Grokking Functional Programming and youll find functional ideas mapped onto what you already know as an object-oriented programmer. The book focuses on practical aspects from page one. Hands-on examples apply functional principles to everyday programming tasks like concurrency, error handling, and improving readability. Plus, puzzles and exercises let you think and practice what youre learning. Youll soon reach an amazing aha moment and start seeing code in a completely new way.
Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.
About the technology
Finally, theres an easy way to learn functional programming! This unique book starts with the familiar ideas of OOP and introduces FP step-by-step using relevant examples, engaging exercises, and lots of illustrations. Youll be amazed at how quickly youll start seeing software tasks from this valuable new perspective.
About the book
Grokking Functional Programming introduces functional programming to imperative developers. Youll start with small, comfortable coding tasks that expose basic concepts like writing pure functions and working with immutable data. Along the way, youll learn how to write code that eliminates common bugs caused by complex distributed state. Youll also explore the FP approach to IO, concurrency, and data streaming. By the time you finish, youll be writing clean functional code thats easy to understand, test, and maintain.
Whats inside
Designing with functions and types instead of objects
Programming with pure functions and immutable values
Writing concurrent programs using the functional style
Testing functional programs
About the reader
For developers who know an object-oriented language. Examples in Java and Scala.
About the author
Michal Plachta is an experienced software developer who regularly speaks and writes about creating maintainable applications.
Table of Contents
Part 1 The functional toolkit
1 Learning functional programming
2 Pure functions
3 Immutable values
4 Functions as values
Part 2 Functional programs
5 Sequential programs
6 Error handling
7 Requirements as types
8 IO as values
9 Streams as values
10 Concurrent programs
Part 3 Applied functional programming
11 Designing functional programs
12 Testing functional programs

Michal Plachta: author's other books


Who wrote Grokking Functional Programming? Find out the surname, the name of the author of the book and a list of all author's works by series.

Grokking Functional Programming — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Grokking Functional Programming" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
inside front cover

acknowledgments Id like to first of all thank the Scala community for its - photo 5

(Continued on inside back cover)

acknowledgments Id like to first of all thank the Scala community for its - photo 6

Grokking Functional Programming

Micha Pachta

To comment go to liveBook

acknowledgments Id like to first of all thank the Scala community for its - photo 7

Manning

Shelter Island

For more information on this and other Manning titles go to

www.manning.com

Copyright

For online information and ordering of these and other Manning books, please visit www.manning.com. The publisher offers discounts on these books when ordered in quantity.

For more information, please contact

Special Sales Department

Manning Publications Co.

20 Baldwin Road

PO Box 761

Shelter Island, NY 11964

Email: orders@manning.com

2022 by Manning Publications Co. All rights reserved.

No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by means electronic, mechanical, photocopying, or otherwise, without prior written permission of the publisher.

Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in the book, and Manning Publications was aware of a trademark claim, the designations have been printed in initial caps or all caps.

Recognizing the importance of preserving what has been written, it is Mannings policy to have the books we publish printed on acid-free paper, and we exert our best efforts to that end. Recognizing also our responsibility to conserve the resources of our planet, Manning books are printed on paper that is at least 15 percent recycled and processed without the use of elemental chlorine.

acknowledgments Id like to first of all thank the Scala community for its - photo 8

Manning Publications Co.

20 Baldwin Road Technical

PO Box 761

Shelter Island, NY 11964

Development editor:

Jennifer Stout

Technical development editor:

Josh White

Review editor:

Aleksandar Dragosavljevi

Production editor:

Keri Hales

Copy editor:

Christian Berk

Proofreader:

Katie Tennant

Technical proofreader:

Ubaldo Pescatore

Typesetter:

Dennis Dalinnik

Cover designer:

Leslie Hames

ISBN: 9781617291838

Dedication

To my dear family: Marta, Wojtek, and Ola, for all the good vibes and inspiration.

To my parents: Renia and Leszek, for all the opportunities youve given me.

Front matter
preface

Hello! Thanks for purchasing Grokking Functional Programming. Ive spent the last decade talking with programmers about the approach to programming, its maintainability, and how functional programming concepts are slowly being adopted by mainstream languages. Many of those professional developers say its still very difficult to learn functional concepts from existing sources, which are either too simplistic or too complex. Thats the gap this book is trying to fill. It aims to provide a step-by-step practical guide for programmers who want to get the full picture of fundamental functional programming concepts.

People learn best from examples, and thats why this book is heavy with them. Theory always comes second. After finishing this introductory book, youll be able to write fully featured programs using functional programming and comfortably dive into its theoretical foundations.

Youll get the most benefit from this book if youve already created some non-trivial applications using an imperative object-oriented language like Java or Ruby. Its a big plus if youve worked on a team who struggled with lots of bugs and maintainability issues, because this is where functional programming shines the most.

I hope youll enjoy reading the chapters and solving the exercises as much as I enjoyed writing them. Thanks again for your interest in the book!

Micha Pachta

acknowledgments Id like to first of all thank the Scala community for its - photo 9

acknowledgments

Id like to first of all thank the Scala community for its continuous pursuit of tools and techniques that help build maintainable software. All of the ideas presented in the book are the result of countless hours of code reviews, discussions, multiple back-and-forth blog articles, hot-take presentations, and production outage postmortems. Thank you all for your passion.

Id like to thank my family, especially my wife Marta, for supporting me during the writing of this book with huge amounts of encouragement and love. Many thanks go to my wonderful kids, Wojtek and Ola, for making sure I dont sit at the computer for too long.

This book has been the work of many people. Id like to thank the staff at Manning: Michael Stephens, acquisitions editor; Bert Bates, editor; Jenny Stout, development editor; Josh White, technical development editor; Christian Berk, copy editor; Keri Hales, production editor; Ubaldo Pescatore, technical proofreader; Katie Tennant, proofreader; and all of the behind-the-scenes folks who helped get this book into print.

To all the reviewers: Ahmad Nazir Raja, Andrew Collier, Anjan Bacchu, Charles Daniels, Chris Kottmyer, Flavio Diez, Geoffrey Bonser, Gianluigi Spagnuolo, Gustavo Filipe Ramos Gomes, James Nyika, James Watson, Janeen Johnson, Jeff Lim, Jocelyn Lecomte, John Griffin, Josh Cohen, Kerry Koitzsch, Marc Clifton, Mike Ted, Nikolaos Vogiatzis, Paul Brown, Ryan B. Harvey, Sander Rossel, Scott King, Srihari Sridharan, Taylor Dolezal, Tyler Kowallis, and William Wheeler, thank you; your suggestions helped make this a better book.

about this book

Who should read this book

The book assumes that the reader has at least one year of commercial experience developing software using a mainstream object-oriented programming language like Java. Examples use Scala as the teaching language, but this is not a Scala book. No prior knowledge of Scala or functional programming is required.

How this book is organized: A road map

The book is divided into three parts. The first part lays the foundation. We will learn tools and techniques that are ubiquitous in functional programming (FP). In chapter 1, we will discuss how to learn FP with this book. In chapter 2, we will show the difference between pure and impure functions. In chapter 3, we will introduce the immutable value. Finally, in chapter 4, we will show how pure functions are just immutable values and demonstrate all the superpowers that we get from this fact.

In the second part of the book, we will use only immutable values and pure functions to solve real-world problems. In chapter 5, we will introduce the most important function in FP and show how it helps in building sequential values (and programs) in a concise and readable way. In chapter 6, we will learn how to build sequential programs that may return errors. We will use chapter 7 to learn about functional software design. Chapter 8 will teach you how to deal with an impure, external, side-effectful world in a safe and functional way. Then, we will introduce streams and streaming systems in chapter 9. We will build streams of hundreds of thousands of items using the functional approach. In chapter 10, we will finally create some functional and safe concurrent programs.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Grokking Functional Programming»

Look at similar books to Grokking Functional Programming. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Grokking Functional Programming»

Discussion, reviews of the book Grokking Functional Programming and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.