Read more
Informationen zum Autor John Paul Mueller has written more than 100 books and 600+ articles on everything from networking and home security to database management and heads-down programming. His technical editing talents have helped more than 70 authors refine and polish their manuscripts. John's books address every level of skill from beginning to advanced. Klappentext Work faster with functional programming Understand the pure and impure approach Perform common tasks in both Python® and Haskell Master the fundamentals of functional programming Especially for nondevelopers, functional programming can be the perfect tool for coding an endless variety of problems. If you've been afraid that the paradigm was too complex, this book will quickly dispel those fears. You'll see how functional programming processes are used to derive, analyze, and prove the worth of algorithms; explore the differences in Haskell and Python and learn when to use pure and impure approaches; see why functional programming is vital for AI and gaming applications; and put your new skills to work. Inside... Clarify functional programming goals Use Python® and Haskell Emphasis on the math connection in programming The role of lambda calculus Deal with types Handle binary data Simple error trapping Zusammenfassung Your guide to the functional programming paradigmFunctional programming mainly sees use in math computations! including those used in Artificial Intelligence and gaming. This programming paradigm makes algorithms used for math calculations easier to understand and provides a concise method of coding algorithms by people who aren't developers. Current books on the market have a significant learning curve because they're written for developers! by developers--until now.Functional Programming for Dummies explores the differences between the pure (as represented by the Haskell language) and impure (as represented by the Python language) approaches to functional programming for readers just like you. The pure approach is best suited to researchers who have no desire to create production code but do need to test algorithms fully and demonstrate their usefulness to peers. The impure approach is best suited to production environments because it's possible to mix coding paradigms in a single application to produce a result more quickly. Functional Programming For Dummies uses this two-pronged approach to give you an all-in-one approach to a coding methodology that can otherwise be hard to grasp.* Learn pure and impure when it comes to coding* Dive into the processes that most functional programmers use to derive! analyze and prove the worth of algorithms* Benefit from examples that are provided in both Python and Haskell* Glean the expertise of an expert author who has written some of the market-leading programming books to dateIf you're ready to massage data to understand how things work in new ways! you've come to the right place! Inhaltsverzeichnis Introduction 1 About This Book 1 Foolish Assumptions 3 Icons Used in This Book 3 Beyond the Book 4 Where to Go from Here 5 Part 1: Getting Started with Functional Programming 7 Chapter 1: Introducing Functional Programming 9 Defining Functional Programming 10 Understanding its goals 11 Using the pure approach 11 Using the impure approach 12 Considering Other Programming Paradigms 13 Imperative 13 Procedural 13 Object-oriented 14 Declarative 14 Using Functional Programming to Perform Tasks 15 Discovering Languages That Support Functional Programming 16 Considering the pure languages 16 Considering the impure languages 17 Finding Functional Programming Online 17 Chapter 2: Getting and Using Python 19 Wo...