Live data from Hacker News

Java 8 Lambdas

datumedge.blogspot.co.uk

141–144 of 144 posts

Re: Java 8 Lambdas

#141

Earlier quoted context omitted.

Funny, I've had it the other way: I was working on a project as a senior dev and had interns writing Godless functional code using Guava and Functional Java, and having a grand old time seeing how much concurrent code they could fit into a single statement. The fact is that Java is not a functional language and to bolt on functional pieces and then ignore the imperative, OO nature of Java is stupid. Don't get me wron…

There are significant lessons to be learned from functional programming, the least of which is the value of immutability in making complex systems comprehensible. Immutability is almost completely necessary for easy-to-understand concurrency, and extremely helpful in designing easy-to-understand APIs and operations on in-memory-models. It is a poor programmer indeed that discards the lessons of FP and instead writes…

The benefits from immutability are well-known outside the functional world. Josh Bloch harped on that (and rightly so) quite a lot in "Effective Java".

Immutability in Java is great, and doesn't have a functional corequisite.

Re: Java 8 Lambdas

#142

Earlier quoted context omitted.

There are significant lessons to be learned from functional programming, the least of which is the value of immutability in making complex systems comprehensible. Immutability is almost completely necessary for easy-to-understand concurrency, and extremely helpful in designing easy-to-understand APIs and operations on in-memory-models. It is a poor programmer indeed that discards the lessons of FP and instead writes…

The benefits from immutability are well-known outside the functional world. Josh Bloch harped on that (and rightly so) quite a lot in "Effective Java". Immutability in Java is great, and doesn't have a functional corequisite.

Immutability generally requires and/or benefits from programming in a functional style.

Re: Java 8 Lambdas

#143

Earlier quoted context omitted.

The benefits from immutability are well-known outside the functional world. Josh Bloch harped on that (and rightly so) quite a lot in "Effective Java". Immutability in Java is great, and doesn't have a functional corequisite.

Immutability generally requires and/or benefits from programming in a functional style.

Now you are trolling, but since the community has long since moved past this news item, I'm just going to point it out and move on myself.

Re: Java 8 Lambdas

#144

Earlier quoted context omitted.

Immutability generally requires and/or benefits from programming in a functional style.

Now you are trolling, but since the community has long since moved past this news item, I'm just going to point it out and move on myself.

[deleted]
Post reply on HN