Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.help > #3150

Lambdas/Callback Functions/Functional Programming. What is the point?

Newsgroups comp.lang.java.help
Date 2015-01-22 09:35 -0800
Message-ID <d0ca87a6-bb4d-40ea-be51-4924c2368091@googlegroups.com> (permalink)
Subject Lambdas/Callback Functions/Functional Programming. What is the point?
From Steve <tinker123@gmail.com>

Show all headers | View raw


Hi all,

I had my first introduction to Java 8 last night via a talk on lambdas, streams, and functional programming.

I understand that this is they way college students are learning to program in Java, so it is here to stay, so I plan on learning it too.

I want to understand why Oracle implemented lambdas, streams, and functional programming.

It looks very similar to the "callback funcitons" I have seen in javascript and the jQuery library.   I never liked that as it seemed to me to be a poor way of organizing things ( feeding blocks of code/functions into other functions ).

Basically, what I would like to understand is what are the benefits of these things?  

Thanks

Steve

Back to comp.lang.java.help | Previous | NextNext in thread | Find similar


Thread

Lambdas/Callback Functions/Functional Programming.  What is the point? Steve <tinker123@gmail.com> - 2015-01-22 09:35 -0800
  Re: Lambdas/Callback Functions/Functional Programming.  What is the point? "Pascal J. Bourguignon" <pjb@informatimago.com> - 2015-01-22 18:33 +0100
  Re: Lambdas/Callback Functions/Functional Programming.  What is the point? Lothar Kimmeringer <news200709@kimmeringer.de> - 2015-01-23 22:17 +0100

csiph-web