Тёмный

RailsConf 2015 - Nothing is Something 

Confreaks
Подписаться 42 тыс.
Просмотров 30 тыс.
50% 1

Наука

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

 

29 окт 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 29   
@name777
@name777 2 года назад
Sandi Metz is one of the best, if not the best, educators on object oriented design. Amazing stuff.
@luoarnamsk
@luoarnamsk 9 лет назад
This is one of the best talks i've seen in a long time!
@jonathansaindon788
@jonathansaindon788 Год назад
A perfect example of the strategy pattern. The mother of all patterns!
@gosukiwi
@gosukiwi 9 лет назад
I love Sandi Metz's talks and writings, when I was new to Ruby she really helped me step up my code, and this talk is great. I know I'll learn something really important whenever I see her in a conference, and then wonder how I never learnt about that before :)
@koshu4
@koshu4 6 лет назад
this is on my list of the greatest ruby talks of all time
@miracl
@miracl 7 месяцев назад
this gives me the chills everytime I watch it
@batlin
@batlin 4 года назад
Wow, this was such an informative and entertaining talk. My brain could barely keep up! I prefer to work in a functional style these days, but this was still really helpful, and much better than the popular narrative of "prefer composition over inheritance", since it's backed up by solid examples and discussion rather than just being a flat assertion.
@shirshak6738
@shirshak6738 5 лет назад
Composition over inheritance is great as always :)
@kaibe5241
@kaibe5241 4 года назад
Brilliant. Metz is just so damn good.
7 лет назад
Awesome! It blasts my mind : the invention of nothing! ;) Thanks
@sainam1995
@sainam1995 9 лет назад
I really enjoyed this talk. Thank you!!
@sameer1234ification
@sameer1234ification 3 года назад
wow ... this is great!!!!!!!!
@dingvan3655
@dingvan3655 6 лет назад
At this time Object-oriented absolutely blew my mind. This is a special occasion. I'll have a cigarette.
@kaibe5241
@kaibe5241 4 года назад
Horrible way to celebrate. Try a cigar ;)
@MithiSevilla
@MithiSevilla 9 лет назад
Sandi Metz I got so inspired by this talk I decided read her book and then got inspired again this time to write an article about her book medium.com/@mithi/review-sandi-metz-s-poodr-ch-1-4-wip-d4daac417665
@rara_rari
@rara_rari 5 лет назад
How is this video different than the other one with more views on Confreaks channel?
@alexios4392
@alexios4392 2 года назад
How to implement smalltalk conditionals in other languages?
@Demondzeta
@Demondzeta 9 лет назад
does someone knows about some kata i can use to practice this?
@Zhuinden
@Zhuinden 6 лет назад
This really makes me wonder when inheritance is the right tool of choice - and abstract base classes in general.
@kotrin
@kotrin 6 лет назад
Almost never, in my opinionated view :) Compose!
@aldrichwright7971
@aldrichwright7971 6 лет назад
The question I then have is what is the major difference between functional and object oriented programming? Both depend on composition, the null object pattern become the maybe type and so on.
@aldrichwright7971
@aldrichwright7971 6 лет назад
Oh, and functional platforms such as BEAM (Elixir, Erlang etc) are heavily dependent on the concept of message passing. Come to think of it, it's important for Haskell as well.
@kotrin
@kotrin 6 лет назад
To honestly answer this, you have to go explore functional programming. Describing an orange to you does not let you understand the experience of eating an orange. If you truly care to understand the difference: go try it. The composition is different, programming with monads (null object pattern) is different, and so on.
@FranckMercado
@FranckMercado 5 лет назад
great talk!
@MoncefNaji
@MoncefNaji 5 лет назад
This is the Maybe monad!
@RizalMuthi
@RizalMuthi 9 лет назад
Superb
@pokegaiyui
@pokegaiyui 6 лет назад
Well my mind is blown lol
@RasmusSchultz
@RasmusSchultz 6 лет назад
The null object pattern is the least useful pattern I know. Do yourself a favor and read the "criticism" section of the Wikipedia article. en.wikipedia.org/wiki/Null_object_pattern The Animal example nicely illustrates the kind of problems this creates. Presumably Animal has some properties and methods beyond just the name, right? How does MissingAnimal respond to various messages intended for actual Animal instances? How many legs does it have? zero? nil? does it have fur? true, false, nil? what species does it belong to? MissingSpecies? nil?? Think about it: your MissingAnimal needs to have a nonsense answer for every question you could ask about an Animal. The null object pattern creates more problems than it solves.
@samcarr7354
@samcarr7354 6 лет назад
Sure, but it's a contrived example. A better one might be loggedInUser where the null class is AnonymousUser. Like she said, if null really is nothing just throw it away but anonymousUser is a concrete idea. There's no silver bullet, programming defensively is boring but this pattern is useful *sometimes*
Далее
RailsConf 2014 - All the Little Things by Sandi Metz
38:47
RailsConf 2015 - Nothing is Something
35:53
Просмотров 76 тыс.
Когда Долго В Рейсе)))
00:16
Просмотров 127 тыс.
JUJU HAS IT ALL! | Brawl Stars Animation
00:53
Просмотров 2,6 млн
RailsConf 2016 - Succession by Katrina Owen
40:39
Просмотров 16 тыс.
hafentalks #7 - Sandi Metz: "Go Ahead, Make a Mess"
40:01
Polly want a message Sandi Metz
40:32
Просмотров 21 тыс.
Where Does Bad Code Come From?
42:21
Просмотров 198 тыс.
Sandi Metz - Talk Session: Polly Want a Message
41:22
FizzBuzz: One Simple Interview Question
7:18
Просмотров 3,5 млн
Get your battery storage box
0:14
Просмотров 15 млн