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?

X-Received by 10.236.14.100 with SMTP id c64mr1949881yhc.57.1421948108021; Thu, 22 Jan 2015 09:35:08 -0800 (PST)
X-Received by 10.140.27.197 with SMTP id 63mr50243qgx.6.1421948108002; Thu, 22 Jan 2015 09:35:08 -0800 (PST)
Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!peer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!bm13no2315630qab.0!news-out.google.com!l7ni1qai.0!nntp.google.com!v8no2833378qal.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.lang.java.help
Date Thu, 22 Jan 2015 09:35:07 -0800 (PST)
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=108.171.130.161; posting-account=9fz0EwoAAAAstucWNCjVaKd2XZuw08r-
NNTP-Posting-Host 108.171.130.161
User-Agent G2/1.0
MIME-Version 1.0
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>
Injection-Date Thu, 22 Jan 2015 17:35:08 +0000
Content-Type text/plain; charset=ISO-8859-1
X-Received-Bytes 1711
X-Received-Body-CRC 1795554589
Xref csiph.com comp.lang.java.help:3150

Show key headers only | 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 | Unroll thread


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