Declarative and imperative programming are the two most popular families of programming paradigms. Learn what they are and how they're different from each other.
- [Instructor] So now that we're a little more familiar … with the main problems … that functional programming can help us solve, … the next thing you'll want to understand … about functional programming … is that it's a declarative style of programming. … And this is in contrast to things … like object-oriented programming and procedural programming, … which are generally imperative styles of programming. … So then we have two contrasting styles … of programming here, declarative and imperative, … what's the difference? … Well the simplest way to put it is this. … Imperative programming focuses on how to do things, … whereas declarative programming puts more focus … on what things are. … Let's look at this in a little more detail. … A simple example of this would if we were to talk … about houses. … If we wanted to describe a house in a declarative way, … that is if we wanted to describe what a house is, … we might say that a house is a foundation, … four walls, and a roof on top. … On the other hand, if we were describing …
Skill Level Advanced
Java Design Patterns: Structuralwith Bethan Palmer1h 38m Intermediate
1. Introduction to Functional Programming
2. First-Class Functions
3. Working with Streams in Java
4. Advanced Concepts
- 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.