Artículos relacionados a Functional Programming, Simplified: (Scala Edition)

Functional Programming, Simplified: (Scala Edition) - Tapa blanda

 
9781979788786: Functional Programming, Simplified: (Scala Edition)

Sinopsis

If you’ve had trouble trying to learn Functional Programming (FP), you’re not alone. In this best-selling, highly-rated book, Alvin Alexander — author of the Scala Cookbook for O’Reilly, the Scala Book for the official Scala website, and former teacher of Java and Object-Oriented Programming (OOP) classes — writes about his own problems in trying to understand FP, how he finally conquered it, and how he teaches others.

In this classic book — one of the highest-selling FP books of all time — he teaches FP in a simple style, without worrying about abstract concepts like functors, monads, and category theory. Instead, he explains FP through a series of small, pragmatic lessons and examples.

The Motivation Behind Functional Programming

For instance, the first thing he learned is that experienced FP developers (FPers) are driven by two goals: to use only immutable values and write only pure functions. But then later he learned the REAL truth: FPers have these goals because their true desire — or mental model — is that they want all of their code to look and work just like algebra.

While that sounds simple, it turns out that these goals require them to use some advanced Scala features — which they often use all at the same time. As a result, their code can look completely foreign to novice FP developers. As Mr. Alexander writes, “When you first see their code it’s easy to ask, ‘Why would you write code like this?’”

But then Mr. Alexander answers that “Why?” question by explaining the benefits of writing pure functional code.

Five Rules for Functional Programming

Once you understand those benefits — your motivation for learning FP — he shares five rules for programming in the book:

  1. All fields must be immutable (‘val’ fields).
  2. All functions must be pure functions.
  3. Null values are not allowed.
  4. Whenever you use an ‘if’ you must also use an ‘else’.
  5. You won’t create OOP classes that encapsulate data and behavior; instead you’ll design data structures using Scala ‘case’ classes, and write pure functions that operate on those data structures.

In the book you’ll see how those five, simple rules naturally lead you to write pure, functional code that reads like algebra. He also shares one more Golden Rule for learning:

  • Always ask “Why”?

Lessons

Lessons in the book include:

  • How and why to write only pure functions
  • Why pure function signatures are much more important than OOP method signatures
  • Why recursion is a natural tool for functional programming, and how to write recursive algorithms
  • Because the Scala ‘for’ expression is so important to FP, dozens of pages explain the details of how it works
  • In the end you’ll see that monads aren’t that difficult because they’re a natural extension of the Five Rules
  • The book finishes with lessons on FP data modeling, and two main approaches for organizing your pure functions

As Mr. Alexander writes, “In this book I take the time to explain all of the concepts that are used to write FP code in Scala. As I learned from my own experience, once you understand the Five Rules and the small concepts, you can understand Scala/FP.”

Bonus: More Free Content Online

Please note that because of the limits on how large a printed book can be, the paperback version does not include all of the chapters that are in the Kindle eBook. The following lessons are not in the paperback version:

  • Grandma’s Cookies (a story about pure functions)
  • The ScalaCheck lessons
  • The Type Classes lessons
  • The appendices

Because those lessons didn’t fit in the print version, they have been made freely available online.

"Sinopsis" puede pertenecer a otra edición de este libro.

Acerca del autor

Alvin took the circuitous route to software development. He managed to get a degree in Aerospace Engineering from Texas A&M University, while all he was really trying to do was play baseball. Once he became a practicing engineer, he realized he liked software and programming more than engineering. So in approximate order he taught himself Fortran, C, Unix, network administration, sed, awk, Lisp, Perl, Java, JavaScript, Python, Ruby, JRuby, PHP, and Scala. During this process he started a software consulting firm, grew it to fifteen people, sold it, and moved to Alaska. After returning to the “Lower 48,” he self-published two books (“How I Sold My Business: A Personal Diary”, and “Zen and the Art of Consulting”), and then wrote the “Scala Cookbook” for O’Reilly. He also created alvinalexander.com, which receives millions of page views every year.

"Sobre este título" puede pertenecer a otra edición de este libro.

Comprar usado

Condición: Bueno
The book has been read, but is...
Ver este artículo

EUR 6,92 gastos de envío desde Reino Unido a España

Destinos, gastos y plazos de envío

Comprar nuevo

Ver este artículo

EUR 25,60 gastos de envío desde Estados Unidos de America a España

Destinos, gastos y plazos de envío

Resultados de la búsqueda para Functional Programming, Simplified: (Scala Edition)

Imagen de archivo

Alexander, Alvin
ISBN 10: 1979788782 ISBN 13: 9781979788786
Antiguo o usado Paperback

Librería: WorldofBooks, Goring-By-Sea, WS, Reino Unido

Calificación del vendedor: 5 de 5 estrellas Valoración 5 estrellas, Más información sobre las valoraciones de los vendedores

Paperback. Condición: Very Good. The book has been read, but is in excellent condition. Pages are intact and not marred by notes or highlighting. The spine remains undamaged. Nº de ref. del artículo: GOR011864405

Contactar al vendedor

Comprar usado

EUR 8,25
Convertir moneda
Gastos de envío: EUR 6,92
De Reino Unido a España
Destinos, gastos y plazos de envío

Cantidad disponible: 4 disponibles

Añadir al carrito

Imagen de archivo

Alexander, Alvin
ISBN 10: 1979788782 ISBN 13: 9781979788786
Antiguo o usado Tapa blanda

Librería: medimops, Berlin, Alemania

Calificación del vendedor: 5 de 5 estrellas Valoración 5 estrellas, Más información sobre las valoraciones de los vendedores

Condición: good. Befriedigend/Good: Durchschnittlich erhaltenes Buch bzw. Schutzumschlag mit Gebrauchsspuren, aber vollständigen Seiten. / Describes the average WORN book or dust jacket that has all the pages present. Nº de ref. del artículo: M01979788782-G

Contactar al vendedor

Comprar usado

EUR 21,43
Convertir moneda
Gastos de envío: EUR 6,00
De Alemania a España
Destinos, gastos y plazos de envío

Cantidad disponible: 1 disponibles

Añadir al carrito

Imagen de archivo

Alexander, Alvin
ISBN 10: 1979788782 ISBN 13: 9781979788786
Antiguo o usado Tapa blanda

Librería: medimops, Berlin, Alemania

Calificación del vendedor: 5 de 5 estrellas Valoración 5 estrellas, Más información sobre las valoraciones de los vendedores

Condición: very good. Gut/Very good: Buch bzw. Schutzumschlag mit wenigen Gebrauchsspuren an Einband, Schutzumschlag oder Seiten. / Describes a book or dust jacket that does show some signs of wear on either the binding, dust jacket or pages. Nº de ref. del artículo: M01979788782-V

Contactar al vendedor

Comprar usado

EUR 21,86
Convertir moneda
Gastos de envío: EUR 6,00
De Alemania a España
Destinos, gastos y plazos de envío

Cantidad disponible: 1 disponibles

Añadir al carrito

Imagen de archivo

Alexander, Alvin
ISBN 10: 1979788782 ISBN 13: 9781979788786
Antiguo o usado Tapa blanda

Librería: SecondSale, Montgomery, IL, Estados Unidos de America

Calificación del vendedor: 4 de 5 estrellas Valoración 4 estrellas, Más información sobre las valoraciones de los vendedores

Condición: Very Good. Item in very good condition! Textbooks may not include supplemental items i.e. CDs, access codes etc. Nº de ref. del artículo: 00088516380

Contactar al vendedor

Comprar usado

EUR 7,67
Convertir moneda
Gastos de envío: EUR 29,86
De Estados Unidos de America a España
Destinos, gastos y plazos de envío

Cantidad disponible: 1 disponibles

Añadir al carrito

Imagen de archivo

Alexander, Alvin
ISBN 10: 1979788782 ISBN 13: 9781979788786
Nuevo Paperback

Librería: Toscana Books, AUSTIN, TX, Estados Unidos de America

Calificación del vendedor: 5 de 5 estrellas Valoración 5 estrellas, Más información sobre las valoraciones de los vendedores

Paperback. Condición: new. Excellent Condition.Excels in customer satisfaction, prompt replies, and quality checks. Nº de ref. del artículo: Scanned1979788782

Contactar al vendedor

Comprar nuevo

EUR 23,71
Convertir moneda
Gastos de envío: EUR 25,60
De Estados Unidos de America a España
Destinos, gastos y plazos de envío

Cantidad disponible: 1 disponibles

Añadir al carrito

Imagen de archivo

Alexander, Alvin
ISBN 10: 1979788782 ISBN 13: 9781979788786
Nuevo Paperback
Impresión bajo demanda

Librería: Revaluation Books, Exeter, Reino Unido

Calificación del vendedor: 5 de 5 estrellas Valoración 5 estrellas, Más información sobre las valoraciones de los vendedores

Paperback. Condición: Brand New. 780 pages. 10.00x7.00x1.76 inches. This item is printed on demand. Nº de ref. del artículo: zk1979788782

Contactar al vendedor

Comprar nuevo

EUR 68,63
Convertir moneda
Gastos de envío: EUR 11,53
De Reino Unido a España
Destinos, gastos y plazos de envío

Cantidad disponible: 1 disponibles

Añadir al carrito

Imagen del vendedor

Alexander, Alvin
ISBN 10: 1979788782 ISBN 13: 9781979788786
Antiguo o usado Tapa blanda

Librería: Goodbooks Company, Springdale, AR, Estados Unidos de America

Calificación del vendedor: 5 de 5 estrellas Valoración 5 estrellas, Más información sobre las valoraciones de los vendedores

Condición: good. Has a sturdy binding with some shelf wear. May have some markings or highlighting. Used copies may not include access codes or Cd's. Slight bending may be present. Nº de ref. del artículo: GBV.1979788782.G

Contactar al vendedor

Comprar usado

EUR 15,79
Convertir moneda
Gastos de envío: EUR 66,56
De Estados Unidos de America a España
Destinos, gastos y plazos de envío

Cantidad disponible: 1 disponibles

Añadir al carrito

Imagen de archivo

Alexander, Alvin
Publicado por CreateSpace Independent Publishi, 2017
ISBN 10: 1979788782 ISBN 13: 9781979788786
Antiguo o usado Paperback

Librería: HPB-Red, Dallas, TX, Estados Unidos de America

Calificación del vendedor: 5 de 5 estrellas Valoración 5 estrellas, Más información sobre las valoraciones de los vendedores

Paperback. Condición: Good. Connecting readers with great books since 1972! Used textbooks may not include companion materials such as access codes, etc. May have some wear or writing/highlighting. We ship orders daily and Customer Service is our top priority! Nº de ref. del artículo: S_385735082

Contactar al vendedor

Comprar usado

EUR 4,39
Convertir moneda
Gastos de envío: EUR 92,15
De Estados Unidos de America a España
Destinos, gastos y plazos de envío

Cantidad disponible: 1 disponibles

Añadir al carrito

Imagen de archivo

Alexander, Alvin
Publicado por CreateSpace Independent Publishi, 2017
ISBN 10: 1979788782 ISBN 13: 9781979788786
Antiguo o usado paperback

Librería: HPB-Emerald, Dallas, TX, Estados Unidos de America

Calificación del vendedor: 5 de 5 estrellas Valoración 5 estrellas, Más información sobre las valoraciones de los vendedores

paperback. Condición: Very Good. Connecting readers with great books since 1972! Used books may not include companion materials, and may have some shelf wear or limited writing. We ship orders daily and Customer Service is our top priority! Nº de ref. del artículo: S_437868806

Contactar al vendedor

Comprar usado

EUR 11,42
Convertir moneda
Gastos de envío: EUR 92,15
De Estados Unidos de America a España
Destinos, gastos y plazos de envío

Cantidad disponible: 1 disponibles

Añadir al carrito