Over 10 mio. titler Fri fragt ved køb over 499,- Hurtig levering Forlænget returret til 31/01/25

Functional Programming in PHP (2nd ed)

- a php[architect] guide

Bog
  • Format
  • Bog, paperback
  • Engelsk
  • 176 sider

Beskrivelse

Many languages have embraced Functional Programming paradigms to augment the tools available for programmers to solve problems. It facilitates writing code that is easier to understand, easier to test, and able to take advantage of parallelization making it a good fit for building modern, scalable solutions.PHP introduced anonymous function and closures in 5.3, providing a more succinct way to tackle common problems. More recent releases have added generators and variadics which can help write more concise, functional code. However, making the mental leap from programming in the more common imperative style requires understanding how and when to best use lambdas, closures, recursion, and more. It also requires learning to think of data in terms of collections that can be mapped, reduced, flattened, and filtered.Functional Programming in PHP will show you how to leverage these new language features by understanding functional programming principles. With over twice as much content as its predecessor, this second edition expands upon its predecessor with updated code examples and coverage of advances in PHP 7 and Hack. Plenty of examples are provided in each chapter to illustrate each concept as it's introduced and to show how to implement it with PHP. You'll learn how to use map/reduce, currying, composition, and more. You'll see what external libraries are available and new language features are proposed to extend PHP's functional programming capabilities.

Læs hele beskrivelsen
Detaljer
  • SprogEngelsk
  • Sidetal176
  • Udgivelsesdato26-10-2016
  • ISBN139781940111469
  • Forlag Php|architect
  • FormatPaperback
  • Udgave0
Størrelse og vægt
  • Vægt312 g
  • Dybde0,9 cm
  • coffee cup img
    10 cm
    book img
    19,1 cm
    23,4 cm

    Findes i disse kategorier...

    Se andre, der handler om...

    Machine Name: SAXO084