• Complain

Dean Wampler - Functional Programming for Java Developers

Here you can read online Dean Wampler - Functional Programming for Java Developers full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2011, publisher: OReilly Media, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

No cover
  • Book:
    Functional Programming for Java Developers
  • Author:
  • Publisher:
    OReilly Media
  • Genre:
  • Year:
    2011
  • Rating:
    5 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 100
    • 1
    • 2
    • 3
    • 4
    • 5

Functional Programming for Java Developers: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Functional Programming for Java Developers" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Software development today is embracing functional programming (FP), whether its for writing concurrent programs or for managing Big Data. Where does that leave Java developers? This concise book offers a pragmatic, approachable introduction to FP for Java developers or anyone who uses an object-oriented language.Dean Wampler, Java expert and author of Programming Scala (OReilly), shows you how to apply FP principles such as immutability, avoidance of side-effects, and higher-order functions to your Java code. Each chapter provides exercises to help you practice what youve learned. Once you grasp the benefits of functional programming, youll discover that it improves all of the code you write.Learn basic FP principles and apply them to object-oriented programming Discover how FP is more concise and modular than OOP Get useful FP lessons for your Java type designsuch as avoiding nulls Design data structures and algorithms using functional programming principles Write concurrent programs using the Actor model and software transactional memory Use functional libraries and frameworks for Javaand learn where to go next to deepen your functional programming skills

Dean Wampler: author's other books


Who wrote Functional Programming for Java Developers? Find out the surname, the name of the author of the book and a list of all author's works by series.

Functional Programming for Java Developers — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Functional Programming for Java Developers" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Functional Programming for Java Developers
Dean Wampler
Editor
Mike Loukides
Editor
Shawn Wallace

Copyright 2011 Dean Wampler

OReilly books may be purchased for educational, business, or sales promotional use. Online editions are also available for most titles (.

Nutshell Handbook, the Nutshell Handbook logo, and the OReilly logo are registered trademarks of OReilly Media, Inc. Functional Programming for Java Developers , the image of a pronghorn antelope, and related trade dress are trademarks of OReilly Media, Inc.

Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and OReilly Media, Inc., was aware of a trademark claim, the designations have been printed in caps or initial caps.

While every precaution has been taken in the preparation of this book, the publisher and authors assume no responsibility for errors or omissions, or for damages resulting from the use of the information contained herein.

OReilly Media Preface Welcome to Functional Programming for Java - photo 1

O'Reilly Media

Preface
Welcome to Functional Programming for Java Developers

Why should a Java developer learn about functional programming (FP)? After all, hasnt functional programming been safely hidden in academia for decades? Isnt object- oriented programming (OOP) all we really need? This book explains why functional programming has become an important tool for the challenges of our time and how you, a Java developer, can use it to your advantage.

) is difficult to do well and few developers are good at it. As well see, functional programming offers better strategies for writing robust, concurrent software.

An example of the greater need for horizontal scalability is the growth of massive data sets requiring management and analysis, the so-called big data trend. These are data sets that are too large for traditional database management systems. They require clusters of computers to store and process the data. Today, its not just Google, Yahoo!, Facebook, and Twitter who work with big data. Many organizations face this challenge.

(OReilly). Scala is a JVM language, a potential successor to Java, with the goal of bringing object-oriented and functional programming into one coherent whole. Clojure is the other well-known functional language on the JVM. It is a Lisp dialect that minimizes the use of OOP in favor of functional programming. Clojure embodies a powerful vision for how programming should be done.

Fortunately, you dont have to adopt a new language to enjoy many of the benefits of functional programming. Back in early 1990s, I used an object-oriented approach in the C software I wrote, until I could use C++. Similarly, if youre working with an object-oriented language, like Java, you can still apply many of the ideas from functional programming.

Unfortunately, much of the literature on functional programming is difficult to understand for people who are new to it. This short book offers a pragmatic, approachable introduction to functional programming. While aimed at the Java developer, the principles are general and will benefit anyone familiar with an object-oriented language.

I assume that you are well versed in object-oriented programming and you can read Java code. Youll find some exercises at the end of each chapter to help you practice and expand on what youve learned.

Because this is a short introduction and because it is difficult to represent some functional concepts in Java, there will be several topics that I wont discuss in the text, although I have added glossary entries, for completeness. These topics include currying , partial application , and comprehensions . Ill briefly discuss several other topics, such as combinators , laziness , and monads , to give you a taste of their importance. However, fully understanding these topics isnt necessary when youre new to functional programming.

I hope you find functional programming as seductive as I did. Let me know how it goes!

You can learn more at the books catalog page (http://oreilly.com/catalog/9781449311032/).

Conventions Used in This Book

The following typographical conventions are used in this book:

Italic

Indicates new terms, URLs, email addresses, filenames, and file extensions. Many italicized terms are defined in the .

Constant width

Used for program listings, as well as within paragraphs to refer to program elements such as variable or function names, databases, data types, environment variables, statements, and keywords.

Constant width bold

Shows commands or other text that should be typed literally by the user.

Constant width italic

Shows text that should be replaced with user-supplied values or by values determined by context.

Tip

This icon signifies a tip, suggestion, or general note.

Caution

This icon indicates a warning or caution.

Using the Code Examples

This book is here to help you get your job done. In general, you may use the code in this book in your programs and documentation. You do not need to contact us for permission unless youre reproducing a significant portion of the code. For example, writing a program that uses several chunks of code from this book does not require permission. Selling or distributing a CD-ROM of examples from OReilly books does require permission. Answering a question by citing this book and quoting example code does not require permission. Incorporating a significant amount of example code from this book into your products documentation does require permission.

We appreciate, but do not require, attribution. An attribution usually includes the title, author, publisher, and ISBN. For example: Functional Programming for Java Developers , by Dean Wampler (OReilly). Copyright 2011 Dean Wampler, 978-1-449-31103-2.

.

Some of the code examples were adapted from examples provided with the Akka distribution, copyright 2009-2011 Scalable Solutions AB. The Akka code base is covered by the Apache 2 License.

Getting the Code Examples

You can download the code examples from http://examples.oreilly.com/9781449311032/. Unzip the files to a convenient location. See the README file in the distribution for instructions on building and using the examples.

Note that some of the files wont actually compile, because they introduce speculative concepts that arent supported by current compilers or libraries. Those files end with the extension .javax. (The build process skips them.)

Safari Books Online
Note

Safari Books Online is an on-demand digital library that lets you easily search over 7,500 technology and creative reference books and videos to find the answers you need quickly.

With a subscription, you can read any page and watch any video from our library online. Read books on your cell phone and mobile devices. Access new titles before they are available for print, and get exclusive access to manuscripts in development and post feedback for the authors. Copy and paste code samples, organize your favorites, download chapters, bookmark key sections, create notes, print out pages, and benefit from tons of other time-saving features.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Functional Programming for Java Developers»

Look at similar books to Functional Programming for Java Developers. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Functional Programming for Java Developers»

Discussion, reviews of the book Functional Programming for Java Developers and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.