News for hackers. Stuff that matters.
Re:Why I Prefer Functional Programming by twic on Saturday October 31, 2020 @07:20PM (#24956051)
Meh.

  var colours = coordinates.stream().map(this::computeColour).collect(toList());

  var colours = coordinates.stream().parallel().map(this::computeColour).collect(toList());
Java doesn't do as much (well, anything) to help you make sure the implementation of computeColour is suitable for parallelisation, but that comes with the territory. On the other hand, it will automatically split the stream up appropriately for the number of cores you have.
Re:Why I Prefer Functional Programming by przemo_li on Sunday November 01, 2020 @06:17PM (#24963410)
You have just started that Java isn't as good but since it isn't, it shouldn't be judged so hardly and thus concluded that Java is as good as any (when using softer requirements just for Java)

I also think that explicit threadpool isn't the same thing as implicit one. But that's very minor issue here easily solvable by different api for parallel method

Re:Why I Prefer Functional Programming by AnimalMuppet on Monday November 02, 2020 @02:33PM (#24972101)
Java's type safety in general is less than Haskell's. That's a separate topic from ease of parallelization in Java and Haskell.