Heads up! To view this whole video, sign in with your Courses Plus account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Observer Design Pattern using Java!
You have completed Observer Design Pattern using Java!
Preview
Java 8 makes functions a first class citizen. Look at how quickly the pattern can be applied by embracing them.
Learn more
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
Well there is, in fact, a growing
movement to make that even quicker.
0:00
Functional programming has been around for
a long time, but
0:01
it's relatively new to the Java world.
0:04
So there are newer patterns forming
that are leaning on this powerful,
0:06
succinct approach.
0:09
Let's give it a whirl.
0:10
If you haven't played around with Java 8's
functional programming side of things,
0:13
I hope that this example will
encourage you to explore it a bit.
0:16
Now our final project for this workshop is
going to explore an Olympics tracking app.
0:20
So we have a class called
GoldMedalReporter.
0:24
Let's open that up.
0:28
So under gold-watcher here,
there's GoldMedalReporter, and
0:29
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up