Тёмный

Alexis Gallagher - Protocols with Associated Types 

Functional Swift
Подписаться 3,5 тыс.
Просмотров 32 тыс.
50% 1

2015.funswiftconf.com

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

 

7 июл 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 27   
@DarkmoonUK
@DarkmoonUK 8 лет назад
Excellent and much needed presentation... 'PATs' had me scratching my head too.
@PaulWoodWare
@PaulWoodWare 7 лет назад
amazing talk thanks
@keyvannorouzi2060
@keyvannorouzi2060 5 лет назад
This is very helpful for me to understand everything about Typealies and Protocols
@san.dehesa
@san.dehesa 8 лет назад
Great presentation. Funny and very clear. I will use the name PATs everywhere now.
@flowtoolz5554
@flowtoolz5554 5 лет назад
And I thought I'm the only one.
@justgao
@justgao 8 лет назад
This was a fantastic and extremely informative presentation. Thank you!
@alexisgallagher5109
@alexisgallagher5109 8 лет назад
+gokeji You're welcome! Glad it made sense.
@OriginalJetForMe
@OriginalJetForMe 3 года назад
I would love to see an updated version of this talk. I don't think much has changed, though, has it?
@tokero5199
@tokero5199 Год назад
I was thinking the exact same thing. This talk is still extremely useful though even with all the changes like actually calling it asociatedtype and the addition of ´some´ and ´any´ etc.
@quadrugue
@quadrugue 6 лет назад
4:00 - Nice explanation of Self!
@jozefmatus7929
@jozefmatus7929 2 года назад
What a talk! You my pal, are talented!
@manuelmeyer1026
@manuelmeyer1026 3 года назад
Nice talk. I use PATs to define UseCases from Robert C. Martins Clean Architecture. They have become the main building block in my code for defining modules.
@alxkub
@alxkub Год назад
7 years, but associated pain is still with us
@KryptLynx
@KryptLynx 7 месяцев назад
They *finally* added auto existentials in swift 5.6 ( in form of `let test: any Test`)
@michaelprenez-isbell8672
@michaelprenez-isbell8672 5 лет назад
Think this was an RWDevCon talk, it was one of my favorites.
@smilebot484
@smilebot484 6 месяцев назад
swift 5.7 solves a lot of the issues with PATS presented here by using the any keyword.
@ericmiller3231
@ericmiller3231 8 лет назад
TLDR; "Am I going to need to turn all my code generic just to deal with things that support equality? Yes. @30:45 It helps to think about them as "a new thing, not a broken version of an old thing". Thanks for the video.
@alexisgallagher5109
@alexisgallagher5109 8 лет назад
+Eric Miller Well put. In retrospect I think your TLDR would make a much better title than what I chose! :)
@antonc27
@antonc27 6 лет назад
Error on 18:40 ? Does he mean `func eat(f:Grass) { }` on last line?
@alexisgallagher5109
@alexisgallagher5109 7 лет назад
clean deck: speakerdeck.com/algal/protocols-with-associated-types-and-how-they-got-that-way
@KK-pq6lu
@KK-pq6lu 3 года назад
Ugh...if the syntax allowed “func eat(f:Food:Grass){}” or “func eat(f:Food.Grass){}” then the compiler would have all the information it needs to meet the covariance requirement.
@hyf_climber
@hyf_climber 8 лет назад
Dear, can you make some captions? As a not-Englisher, People like me feel listening so hard.
@DukeLaCrosse20
@DukeLaCrosse20 8 лет назад
Shove me in the shallow water before I get too deep.
@michaelnajera7958
@michaelnajera7958 3 года назад
I’d be more forgiving if swift was not backed by a trillion dollar company that could easily solve this problem by adding existentials with a snap of a finger. Same goes with not having better concurrency and Xcode tooling.
Далее
John Gallagher - Networking with Monads
33:02
Просмотров 8 тыс.
Lasagna Soup @Lionfield
00:35
Просмотров 8 млн
아이스크림으로 체감되는 요즘 물가
00:16
меня не было еще год
08:33
Просмотров 2,7 млн
Justin Spahr-Summers - Enemy of the State
34:11
Просмотров 14 тыс.
All Rust string types explained
22:13
Просмотров 152 тыс.
What is the Spring framework really all about?
10:45
Просмотров 771 тыс.
Ben Cohen - Fast Safe Mutable State
27:52
Просмотров 9 тыс.