دانلود کتاب Refactoring to Collections
by Adam Wathan
|
عنوان فارسی: Refactoring به مجموعه |
دانلود کتاب
جزییات کتاب
Learn how to use collection pipelines to break down ugly, complex functions into a series of simple transformations, free of loops, complex conditionals, and temporary variables.
The first section of the book focuses on teaching you the theory and fundamentals you need to to start applying functional programming principles to your code.
You'll learn about the difference between imperative and declarative code, how to use higher order functions to remove duplication, and how to reimplement fundamental operations like map, reduce, and filter from first principles.
The second section of the book and the companion screencasts are a deep dive into problem solving with Laravel's Collection library.
Through 15 in-depth examples, we walk through everything from beginner to expert level problems, using advanced operations like zip and transpose, and even extending the library with our own custom transformations.
ZIP with exercises: https://mega.nz/#!eNNTDC5A!IsIxrnFWehtGXqLmMBE4OrUWua4tpc6471X4B2qtJv8