The Artima Developer Community
Sponsored Link

Java Buzz Forum
Functional vs “Java” Style

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Jason Sankey

Posts: 406
Nickname: jsankey
Registered: Apr, 2006

Jason Sankey is a founding developer of zutubi.
Functional vs “Java” Style Posted: Aug 20, 2009 6:54 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Jason Sankey.
Original Post: Functional vs “Java” Style
Feed Title: a little madness
Feed URL: http://www.alittlemadness.com/feed/
Feed Description: A man needs a little madness, or else he never dares cut the rope and be free. -Nikos Kazantzakis
Latest Java Buzz Posts
Latest Java Buzz Posts by Jason Sankey
Latest Posts From a little madness

Advertisement
Stephan Schmidt started it with his third point: Do not use loops for list operations. Learning from functional languages, looping isn’t the best way to work on collections. Suppose we want to filter a list of persons to those who can drink beer. The loop versions looks like: List<Person> beerDrinkers = new ArrayList<Person>(); for (Person p: persons) {   [...]

Read: Functional vs &#8220;Java&#8221; Style

Topic: Poll: Google Android Favored as Feature Phone Development Platform Previous Topic   Next Topic Topic: Taiwanese Leafhopper

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use