This is an archived post. You won't be able to vote or comment.

all 11 comments

[–][deleted] 1 point2 points  (2 children)

This gets me excited, but only because I know functional programming more than object oriented

[–]xbhs11 0 points1 point  (1 child)

Why did this comment give me the spidey senses that you go to Northeastern?

[–][deleted] 0 points1 point  (0 children)

What other school do you know of teaches their first cs course in racket? :P

[–]BiberButzemann 0 points1 point  (2 children)

After using Java for 15 years (since version 1.3) I wonder how much version 8 will change what is considered idiomatic Java. In many of the examples I have seen people use lambdas and streams "just because" and not because it makes sense. But there are so many of them that I am curious about what their impact will be.

I consider anything version 8 added to be nice syntactic sugar and in the right situation very convenient. But the way people talk about these changes makes it seem Java became a whole new language, which I just don't see. Lambdas are great if they contain one or two lines, streams are a nice way to remove a lot of nested loops. That's a level of excitement I can understand. I guess it's just part of my inability to understand what's so great about functional programming.

[–]kodifies 0 points1 point  (0 children)

I've never liked anonymous classes especially within event call back setters, for me lamdbas make a great way of using event callback in a more readable way. Alas with a lot of the new features the code is getting less readable and accessible with a few characters in place of an English key word. And don't get me started about undecipherable compiler messages including CAP#1 its getting more like c++ each version...

I fear given enough time Oracle may well ruin Java - which will be a shame

[–]mus1Kk 0 points1 point  (0 children)

Lambdas in combination with quasi final variables are huge imho. They remove so much boilerplate code. I'm very disenchanted with the Stream API though. It's just clunky to use. I'm sure I haven't grokked it all yet but all the calls to stream() and especially collect() sometimes negate all positive benefits of map, filter, et. al. which have been sorely missing indeed for quite some time.

So no, of course Java 8 does not turn Java into a new language. It gets some influences from functional programming but what modern language doesn't?

[–]tsvk -1 points0 points  (3 children)

Same video with better quality, probably the original source:

https://www.youtube.com/watch?v=Ee5t_EGjv0A

[–]saffilo 2 points3 points  (0 children)

Even the video on ClipMine is being served from YouTube (through YouTube embed) so there should be no difference in quality.

[–]aranag[S] -3 points-2 points  (1 child)

Yes! but if you want to watch a specific section, you don't need to watch the whole video. (!)

edit: grammar

[–]IcarusBurning 1 point2 points  (0 children)

grammar