en
Richard Warburton

Object-Oriented vs. Functional Programming

Berätta för mig när boken läggs till
För att kunna läsa den här boken överför filer i EPUB- eller FB2-format till Bookmate. Hur laddar jag upp en bok?
The schism between the functional and object-oriented programmers is really a false binary. Yes, the first group argues that FP is superior for a multicore world, while the second insists that OOP is better at matching technical solutions to business problems. However, as this O’Reilly report explains, this is not an either-or proposition. Technologist Richard Warburton, author of Java 8 Lambas, discusses similarities between these programming paradigms and points out that both FP and OOP are actually moving closer toward one another. One prominent example is the use of lambda expressions in Java and other OOP languages such as C#, C++, and Swift. By following examples written in Java, you will: – Learn how lambdas (aka anonymous functions) make OOP languages better suited for dealing with parallelism and concurrency – Understand how SOLID—OOP’s five basic principles of programming—map to functional languages and paradigms – Explore some of the most common OOP design patterns—and how they exist in the functional world Richard Warburton is an empirical technologist and solver of deep-dive technical problems. Recently he has been working on data analytics for high performance computing. As a leader in the London Java Community, he organizes the Adopt-a-JSR programs for Java 8 and the Openjdk Hackdays. Richard is also the author of the Java 8 Lambdas (O’Reilly).
Den här boken är inte tillgänglig just nu
42 trycksidor
Har du redan läst den? Vad tycker du om den?
👍👎

Citat

  • Maksim Yugaihar citeratför 6 år sedan
    We can now reduce the boilerplate around passing blocks of behavior: we’re treating functions as first-class citizens. This makes parameterizing code by behavior a lot more attractive. This is key to functional programming, so key in fact that it has an associated name: higher-order functions.
  • Maksim Yugaihar citeratför 6 år sedan
    What he meant was that

I bokhyllorna

fb2epub
Dra och släpp dina filer (upp till fem åt gången)