Video description
In Video Editions the narrator reads the book while the content, figures, code listings, diagrams, and text appear on the screen. Like an audiobook that you can also watch as a video.
"Java, JavaScript, C++, Python, and so many others are not purely functional languages, but have adopted ideas from functional programming that make them much easier to use. These simple ideas can be used in any programming language. This book shows you how to do that. It’s an easy read, filled with practical examples and sidebars that explain the technical terms. I was drawn in, really enjoyed it, and learned a couple of new ideas that I am eager to apply in my own code. I hope you enjoy it, too!"
From the Foreword by Guy Steele
"Functional programming does not transfer peacefully from academia to business software. We aren’t starting from scratch. We depend on runtimes and libraries outside our control. Our software interacts with many other systems. It is a long way from FP-land to legacy business software. Eric has undertaken this journey for us. He delved into functional programming, found its most helpful essences, and brought them to us where we are."
From the Foreword by Jessica Kerr
Distributed across servers, difficult to test, and resistant to modification—modern software is complex. Grokking Simplicity is a friendly, practical guide that will change the way you approach software design and development. It introduces a unique approach to functional programming that explains why certain features of software are prone to complexity, and teaches you the functional techniques you can use to simplify these systems so that they’re easier to test and debug.
about the technology
Developers rightly fear the unintended complexity that infects most code. This book shows you how to write software that keeps complexity close to its inherent minimum. As you write software you should distinguish between code that alters your system’s state, and code that does not. Once you learn to make that distinction, you can refactor much of your state-altering “actions” into stateless “calculations.” Your software will be simpler.
about the book
The book also teaches you to solve the complex timing bugs that inevitably creep into asynchronous and multithreaded code. In advanced sections of the book you learn how composable abstractions help avoid repeating code and open up new levels of expressivity.
what's inside
- Patterns for simpler code
- Powerful time modeling approaches to simplify asynchronous code
- How higher-order functions can make code reusable and composable
about the audience
For intermediate and advanced developers building complex software. Exercises, illustrations, self-assessments, and hands-on examples lock in each new idea.
about the author
Eric Normand is an expert software developer who has been an influential teacher of functional programming since 2007.
This book is a must-read for taming complex software. One of the most engaging titles in years.Michael Aydinbas, EXXETAAG
A great resource for learning functional thinking and the practical programming techniques derived from it. I can recommend to my colleagues with confidence.
Joel Luukka, Geniem
An indispensable guide to identifying and conquering complexity.
Bryan Miller, Petrolitix
NARRATED BY MARK THOMAS
Table of contents
- Chapter 1. Welcome to Grokking Simplicity
- Chapter 1. Functional programmers distinguish inert data from code that does work
- Chapter 1. This book is language agnostic
- Chapter 2. Functional thinking in action
- Chapter 2. Timelines visualize distributed systems
- Part 1
- Chapter 3. Distinguishing actions, calculations, and data
- Chapter 3. Lessons from our shopping process
- Chapter 3. Applying functional thinking to new code
- Chapter 3. Implementing the coupon email process
- Chapter 3. Applying functional thinking to existing code
- Chapter 4. Extracting calculations from actions
- Chapter 4. Extracting a calculation from an action
- Chapter 4. Extracting another calculation from an action
- Chapter 5. Improving the design of actions
- Chapter 5. Categorizing our calculations
- Chapter 6. Staying immutable in a mutable language
- Chapter 6. Converting a write to a read with copy-on-write
- Chapter 6. What to do if an operation is a read and a write
- Chapter 6. Applications have state that changes over time
- Chapter 6. Converting nested writes to reads
- Chapter 7. Staying immutable with untrusted code
- Chapter 7. Wrapping untrusted code
- Chapter 7. Implementing deep copy in JavaScript is difficult
- Chapter 8. Stratified design: Part 1
- Chapter 8. Pattern 1: Straightforward implementations, Part 1
- Chapter 8. Pattern 1: Straightforward implementations, Part 2
- Chapter 8. Three different zoom levels
- Chapter 8. Three different zoom levels - Extracting the for loop
- Chapter 9. Stratified design: Part 2
- Chapter 9. When to use (and when not to use!) abstraction barriers
- Chapter 9. Pattern 3: Minimal interface
- Chapter 9. Pattern 4: Comfortable layers
- Chapter 9. Code at the top of the graph is easier to change
- Part 2
- Chapter 10. First-class functions: Part 1
- Chapter 10. Refactoring: Express implicit argument
- Chapter 10. We will use a lot of objects and arrays
- Chapter 10. For loop example: Eating and cleaning up
- Chapter 10. Refactoring: Replace body with callback
- Chapter 10. Why are we wrapping the code in a function?
- Chapter 11. First-class functions: Part 2
- Chapter 11. Returning functions from functions
- Chapter 12. Functional iteration
- Chapter 12. Functional tool: map()
- Chapter 12. Functional tool: filter()
- Chapter 12. Example: Concatenating strings
- Chapter 13. Chaining functional tools
- Chapter 13. Clarifying chains, method 1: Name the steps
- Chapter 13. Tip 1: Make data
- Chapter 13. Debugging tips for chaining
- Chapter 13. reduce() for building values
- Chapter 14. Functional tools for nested data
- Chapter 14. Visualizing values in objects
- Chapter 14. Writing incrementSizeByName() four ways
- Chapter 14. The anatomy of safe recursion
- Chapter 15. Isolating timelines
- Chapter 15. Different languages, different threading models
- Chapter 15. Principles of working with timelines
- Chapter 15. Simplifying the timeline
- Chapter 15. Summary: Drawing timeline diagrams
- Chapter 15. Making our code more reusable
- Chapter 16. Sharing resources between timelines
- Chapter 16. Building a queue in JavaScript
- Chapter 16. Principle: Use real-world sharing as inspiration
- Chapter 16. Analyzing the timeline
- Chapter 17. Coordinating timelines
- Chapter 17. Simplify the diagram: Step 3
- Chapter 17. Using Cut() in our code
- Chapter 17. A primitive to call something just once
- Chapter 18. Reactive and onion architectures
- Chapter 18. FormulaCells calculate derived values
- Chapter 18. Treat series of steps as pipelines
- Chapter 18. Review: Stratified design
- Chapter 18. Analyze readability and awkwardness
- Chapter 19. The functional journey ahead
- Chapter 19. Parallel tracks to mastery
- Chapter 19. Production: Eliminate a bug today
- Chapter 19. Functional languages by learning opportunity
Product information
- Title: Grokking Simplicity, Video Edition
- Author(s):
- Release date: June 2021
- Publisher(s): Manning Publications
- ISBN: None
You might also like
audiobook
Grokking Simplicity
"Java, JavaScript, C++, Python, and so many others are not purely functional languages, but have adopted …
book
Grokking Simplicity
"Java, JavaScript, C++, Python, and so many others are not purely functional languages, but have adopted …
video
Grokking Algorithms, Video Edition
In Video Editions the narrator reads the book while the content, figures, code listings, diagrams, and …
video
Design Patterns (Clean Coders Video Series)
Overview Get ready for something very different. This ain't no screen cast. This ain't no talkin' …