Functional programming is older than object-oriented programming, yet new to most developers. Learn about some of the pros and cons of functional programming.
- [Tutor] Functional programming was created in the 1950s,…yet it is still new to most developers.…Here are some of the pros and cons of its use.…Since functional programs don't store state…and only use immutable data,…the code generally has less bugs.…Peer functions only depend on their parameters,…so reusing them and testing them is easy.…Synchronizing data between threads…is a huge headache in multithreaded programming,…but the use of immutable data mostly eliminates it.…
Of course, there are some downsides…to functional programming.…Functional programs don't have loops…and depend heavily on recursion.…This tends to make them less efficient.…Especially for beginners,…it can be hard to break problems down functionally.…Many developers program Kotlin…in the same object oriented style as Java.…But if you'd like less buggy,…easier to understand code,…you can program Kotlin functionally.…
- Kotlin as a better Java
- Setting up a Kotlin programming environment
- Val vs. var
- Understanding basic Kotlin programming concepts
- Object-oriented programming
- Using Java from Kotlin
- Using Kotlin from Java
- Annotations, reflection, and DSL construction
- Functional programming in Kotlin
Skill Level Advanced
1. Kotlin as a Better Java
Why a new JVM language?1m 35s
2. Get Started with Kotlin
3. Basic Kotlin Programming
4. Object-Oriented Programming
5. Java Interop
6. Advanced Kotlin Features
7. Functional Programming in Kotlin
- 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.