In this video, Kathryn introduces functional programming as an alternative programming style to object-oriented programming. Functional programming focuses on computing results from functions rather than performing actions on objects.
- [Instructor] Throughout this course,…we have been focusing on object oriented programming…and learning the fundamentals of Java.…However, there is another style of programming…that differs from object oriented programming,…called functional programming.…Functional programming focuses on computing results…from functions rather than performing actions on objects.…In most of the programs we've created so far,…we've built a class blueprint with fields and methods.…And then in the main method,…created instances of that class blueprint.…Our methods usually change something internal to the object,…such as the object's color, and often returned void.…
This is not the case in functional programming.…Objects in a functional programming language…are often immutable and instead of changing an object,…you create a new object which looks…exactly like the old one, except for the change.…Java is known for using an object oriented programming style…but I find it helpful to know of the other styles out there.…In the next video, we'll experiment with lambda…
- Downloading Java 9 and choosing an IDE
- Understanding Java basics: data types, strings, arrays, and more
- Controlling flow with functions and loops
- Working with inheritance and interfaces
- Learning lambda
Skill Level Beginner
1. Getting Started
2. Java Basics
3. Control Flow
4. Beyond the Basics
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.