Intro to Reactive Programming by Jordan Jozwiak of Google - CS50 Tech Talk

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

0:41 What is the reactive programming?
3:49 Use case of the reactive programming
6:20 Example of data stream
12:38 What creates the subject data stream?
18:30 What's a language paradigm?
20:32 Imperative vs Functional
25:39 Summary of the reactive programming components
(Data streams, Functional programming, Asynchronous observers)
27:30 Reactive programming is NOT
31:07 Example
45:05 Operators
47:20 Live demo

SH.K_
Автор

I love that MIT Harvard and Yale post their lectures for free. Great resources :)

ianprado
Автор

Nice lecture, thanks for posting. At 46:30, I believe there are two source streams: a stream of colors, and a stream of shapes. Then we apply an operation that combines a color and a shape and produces a colored shape (for example, RED + CLOUD => RED CLOUD). However, every color has a limited lifetime, and so does every shape. And the output shape is only produced when you have an active color + an active shape. So for example, the first output (a pink diamond) is only produced once we have both a color (pink) and a shape (diamond). Then when the color changes to orange, since the diamond shape is still active, we get an orange diamond. But when the color changes to blue, the diamond shape is expired, so nothing is produced until the next shape arrives, which is a star, so we get a blue star. And so on, you get the picture. Hope this helps! :)

mouduge
Автор

The best tutorial I saw so far to explain what reactive programming is. Thanks for sharing this cs50 course on youtube.

katezhang
Автор

The presenting style is nice, I like how you check in with the audience at all intervals.

adamcheung
Автор

While presenting this, he's on the high ground this time.

hsjoo
Автор

I think this was a great introduction and excellent example in the live demo. Thank you

marcodelpercio
Автор

Thank you for posting this. It has been very useful to understand how imperative programming is different to reactive model.

kamalkunjapur
Автор

It’s a very good talk, one of the best intro talks on Reactive Paradigm

rembautimes
Автор

I saw Anakin on the thumbnail, so I clicked. Thanks Anakin

kevinl
Автор

Way too long for the small amount of information given.

peters
Автор

At 37:20, I don't know what you think but for me the two exemple are Completly different, the first with the Runnable implements an "actif white" by doing a treatment every "delay", the second implements a "passif white", it's the stream (Observable) how execute the function (Observer) when the state of Observable changes ex: a set method was called on it.

mohamedhatimwahdani
Автор

23:35 I was taught COBOL in my college this year.

vishalgaurav
Автор

But the main question is what all is required for a class to have a method like "getDataStream" that returns an Observable??

adonisaseem
Автор

Hi. I am too late to this video, but i loved it! you are such a great speaker. You made the concept of rxjava so easy to understand, this was previously such a terrifying domain for me . Also, as a non native speaker, i often find understanding the accent of English people difficult, but yours was so easy to understand that i barely even opened the captions (is it Australian? :P )

Also, i would like to follow along your sensor app example. can you post a link to project source?

anshsachdeva
Автор

Notes for myself:
rxjava : 27:50
example: 31:04

santoshpillai
Автор

This is very basic, still good introduction, thanks for the vid :)

codespector
Автор

When we apply the operators to the pipeline of data, is the peipeline received is same or different pipeline

sid_cgdyt
Автор

So if I use streams of java 8, I am doing reactive programming ??

ashwiniabhishek
Автор

25:10 Java really dominated the 80s....

wiilillad