Functional Programming in Java, Second Edition (Pragmatic Bookshelf)

Latest Threads About This Book Top

ndierauf
@venkats Appears to be a broken link in Appendix 3 a(Web Resources) on Page 234, for article to “Tell, Don’t Ask”. Link goes to: https:...
New
Athazo
@venkats In the section “Iterating a String” found in chapter 3 “Strings, Comparators, and Filters” there seems to be a typo: “But we w...
New
New
New
New
New
New
New
New
New

Most Active This Week Top

Most Active This Month Top

Most Active This Year Top

Most Active Last Three Years Top

PragmaticBookshelf
Learn and apply the powerful streams API and lambda expressions to create highly expressive, concise, and maintainable functional style c...
New
jozshor00
@venkats On page 21: For each price from the prices list that passes through the filter(), the mapToInt() method invokes the provided ...
New
dtonhofer
On p.27, after “Found 2 names”, we read: The filter() method returns an iterator just like the map() method does, But it really return...
New
dtonhofer
On page 91, we use a short method to request a stock ticker, class FinanceData However, this method is based on java.net.URL which has a...
New
dtonhofer
We read: Recursion is a powerful and charming way to solve problems. It’s highly expressive—using recursion we can provide a solution t...
New
dtonhofer
In several places, the method String.toUpperCase() is misspelled as String.toUppercase() sometimes via the :: method reference, Stri...
New
dtonhofer
We find this code on page 61, for ListSelectFiles.java final String[] files = new File("fpij").list(new java.io.FilenameFilter()...
New
dtonhofer
Just some thoughts on being hard on exceptions in functional languages. On p. 167 we read: Functional style code is amazing, concise, ...
New
dtonhofer
As for FinanceData on page 91, the code for AirportInfo uses the suspect and soon-to-be-deprecated java.net.URL. Let’s use java.net.URI i...
New
dtonhofer
As previously, the code uses List<String> names = Arrays.asList(...); which yields an “array-backed list”, rather than List<S...
New
dtonhofer
On page 148, “An optimization problem” we read: We’ll employ a solution for a company that buys rods at wholesale and sells them at reta...
New
dtonhofer
@venkats At 2/3rd of the page, we read; Within the computeMaxProfit() method, we perform our task, and when it’s time to recurse we ro...
New
dtonhofer
On page 90, CalculateNAVTest.java: public class CalculateNAVTest { @Test public void computeStockWorth() { final CalculateN...
New
dtonhofer
It turns out that Try<T> can be ameliorated by judicious application of subclassing: no need to distinguish by actual type in the s...
New
dtonhofer
On page 174: StreamAPI Should probably be Stream API Also on page 174: blow up with an exception Suggesting to change this wh...
New

Most Active Over Three Years Top

New
dtonhofer
The filter stream operation appears on several places in Chapter 2 and Chapter 3, so it’s difficult to say where to put this, but there s...
New
dtonhofer
I have been thinking about how to collect “two adjacent elements” in a stream, for example transform a stream of Long into a stream of Pa...
New
New
Athazo
@venkats In the section “Iterating a String” found in chapter 3 “Strings, Comparators, and Filters” there seems to be a typo: “But we w...
New
dtonhofer
We read: We are using the amazing feature of the switch expression of Java [Java 12]. If you’re using an older version of Java, you may...
New
ndierauf
@venkats Appears to be a broken link in Appendix 3 a(Web Resources) on Page 234, for article to “Tell, Don’t Ask”. Link goes to: https:...
New
dtonhofer
A question to highlight is: Is there a way to make sure that a stream is NOT parallel, and make this evident in the code? As in: strea...
New
dtonhofer
As traditional , the “impure” code of page 207 in the form of a pretend test. (Doesn’t “impure” refer to performing uncontrolled side ef...
New
dtonhofer
Although now aged by 34 years: “The Conception, Evolution, and Application of Functional Programming Languages” by Paul Hudak (1989-09-...
New
New
New
New
New
New

Get money off!

The Pragmatic Bookshelf

35% off any eBook

Simply use coupon code "devtalk.com" at checkout. See full details here.

Latest

View all Functional Programming in Java, Second Edition threads ❯