Quick Functional Programming

Af David Matuszek
Detaljer Taylor & Francis Group
ISBN 9781032415314
Sprog Engelsk
Pris 335,00 kr.
Paperback

Ikke på lager

Denne bog er endnu ikke udgivet. Den forventes Jun 2023.

Why learn functional programming?Isn't that some complicated ivory-tower technique used only in obscure languages like Haskell?

In fact, functional programming is actually very simple. It's also very powerful, as Haskell demonstrates by throwing away all the conventional programming tools and using only functional programming features. But it doesn't have to be done that way.

Functional programming is a power tool that you can use in addition to all your usual tools, to whatever extent your current mainstream language supports it. Most languages have at least basic support.

In this book we use Python and Java and, as a bonus, Scala. If you prefer another language, there will be minor differences in syntax, but the concepts are the same.

Give functional programming a try. You may be surprised how much a single power tool can help you in your day-to-day programming.

1. What Is Functional Programming?
2. Methods and Functions
3. Higher Order Functions
4. Functional Interfaces in Java
5. If Expressions
6. Comprehensions
7. Closures
8. Currying
9. Function Composition
10. Optional Values
11. Lists
12. Streams
13. Important Functions
14. Pipelines
15. Summary and Final Examples. Afterword. Index.