Тёмный

Chris Oliver - Mapping Concepts Into Code 

Ruby Australia
Подписаться 1,6 тыс.
Просмотров 209
50% 1

Implementing a feature like "notifications" in an app sounds simple, right? As you dig in to problems like this, you'll realize the complexity that lies below the surface.
In this talk, we'll walk through designing a feature like Notifications and how naming, DSLs, metaprogramming, and a bunch of other small decisions can make code feel delightful to use. Plus, we'll take a look at some of the decisions along the way that didn't turn out so well, analyze why they didn't work, and how we can improve them.

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

 

7 сен 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 1   
@rajaravivarmar
@rajaravivarmar 2 месяца назад
I feel that this code introduces a meta programming unnecessarily. I know it is a cultural thing in Ruby and Rails to look for elegance (or perceived elegance) than simplicity, but it comes at a cost. For example, * Why use symbols and then constantize it? Just specify the class name. * Why use meta programming to call the `inherited` hook and create classes dynamically. Just create the classes manually. In my experience, simplicity beats elegance.
Далее
One billion rows in Ruby - Rian McGuire
41:34
ПРОСТИ МЕНЯ, АСХАБ ТАМАЕВ
32:44
Просмотров 2,3 млн
Нарвался на сотрудника ФСБ⚡️
01:00
How Senior Programmers ACTUALLY Write Code
13:37
Просмотров 1,5 млн
The Art of Code - Dylan Beattie
1:00:49
Просмотров 4,7 млн