Тёмный

RailsConf 2024 - Undervalued: The Most Useful Design Pattern by Jared Norman 

Ruby Central
Подписаться 7 тыс.
Просмотров 496
50% 1

Value objects are one of the most useful but underused object-oriented software design patterns. Now that Ruby has first class support for them, let’s explore what we can do with them! Learn not just how and when to use value objects, but also how they can be used to bridge different domains, make your tests faster and more maintainable, and even make your code more performant. I’ll even show how to combine value objects with the factory pattern to create the most useful design pattern out there.

Наука

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

 

9 июл 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 2   
@pirminis
@pirminis 19 дней назад
Thank you very much for this talk! It was simple, useful and beautifily presented :)
@haroldpepete
@haroldpepete 9 дней назад
29:55 why sonething like this classs is hard to test? you have a constructor with the only one dependency and each method makes reference to attributes on this parameter object, delegate is easy to test as well, i don't get it, why is hard and why you can use openstruct in a dynamic language like ruby, openstruct is really helpful for declaring dummy object
Далее
The moment we stopped understanding AI [AlexNet]
17:38
Просмотров 806 тыс.