Тёмный

The Interpreter Pattern Revisited 

InfoQ
Подписаться 231 тыс.
Просмотров 19 тыс.
50% 1

Опубликовано:

 

14 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 12   
@petrasoftresearch1301
@petrasoftresearch1301 Год назад
I literally pulled my GoF book off the shelf when you said and went to page 243 and followed along. I knew I needed this pattern, just didn't realize it was in GoF. Thanks for the video!
@robbyriverside
@robbyriverside 9 лет назад
thank you, Runar! This is a very HEALING idea that Monads was used by the GoF. Wonderfully fun for developers who have already learned the power of pure functional programming. But usually it is a subtle and sometimes religious argument. Here your audience gets the delightful irony of your discovery. (I laughed out loud) NOW create a presentation for the uninitiated that object-oriented and functional are just two edges of the same sword.
@JohnMichaelReed
@JohnMichaelReed 8 лет назад
At 25:44 - It says " Suspend[ F[ _ ], A ]( s: F[ Exp[F, A] ] ) ". Shouldn't that be " Suspend[ F[ _ ], A ]( s: F[ Free[F, A] ] ) ". The "Exp" was from the previous example.
@helvitisdrasl
@helvitisdrasl 7 лет назад
Yes
@butcherless
@butcherless 6 лет назад
Excellent master class as well as FP Red Book, many thanks!
@mohance
@mohance 8 лет назад
Awesome! Very thoughtful!, Is there any place where I can find the slides?
@JohnMichaelReed
@JohnMichaelReed 8 лет назад
Also, 25:36 - is should be " Not[A](a: A) " instead of " Not(a: A) " - the latter does not compile. Also, way back at the beginning, the parameters for scalaz state machine (where you define "Exp.interpret") are backwards - it is (String => (String, Boolean)), not (String => (Boolean, String)).
@ivandrofly
@ivandrofly Год назад
Thanks
@JohnMichaelReed
@JohnMichaelReed 8 лет назад
That was amazing
@funkmaster322
@funkmaster322 5 лет назад
This guy says some useful stuff but is trying too hard to be funny. Its super distracting.
@RIMJANESSOHMALOOG
@RIMJANESSOHMALOOG 3 года назад
the audience is laughing where he's being serious
Далее
Dependency Injection, The Best Pattern
13:16
Просмотров 849 тыс.
Grand Final | IEM RIO 2024 | BO5 | КРNВОЙ ЭФИР
6:35:24
Composite Pattern - Design Patterns (ep 14)
1:11:23
Просмотров 145 тыс.
What Can Scala Learn from Rust? by John A. De Goes
59:03
A Year living Freely - Chris Myers
33:45
Просмотров 8 тыс.
Functional Design Patterns - Scott Wlaschin
1:05:50
Просмотров 297 тыс.
John De Goes - 12 Steps To Better Scala (Part I)
1:04:20
The Value of Values with Rich Hickey
31:44
Просмотров 133 тыс.
Observer Pattern - Design Patterns (ep 2)
49:47
Просмотров 567 тыс.
Functional programming design patterns by Scott Wlaschin
1:05:44