Тёмный
No video :(

The Abstraction Penalty 

Human Made
Подписаться 367
Просмотров 1,4 тыс.
50% 1

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

 

21 авг 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 7   
@helshabini
@helshabini Месяц назад
Great point that I only recently learned after years of building software. Clean code has a heavy price that is often not talked about. Sometimes it is worth it, but often times it is not.
@bcassol
@bcassol Месяц назад
Ageeed. And there's also a larger cognitive load if you have to jump through many functions to understand a flow. As a general rule: large callstacks = bad.
@Drivingralle
@Drivingralle Месяц назад
I highly agree
@valera2010_cool
@valera2010_cool Месяц назад
It's crazy how uncle bob single-handedly undermined dev industry
@campbellhutcheson5162
@campbellhutcheson5162 Месяц назад
it looks like a straight up parallelism issue rather than an issue with encapsulation. i don't program PHP but in Python, you could either just call each of the functions concurrently with async (assuming that they are IO bound) or with forked instances of python (for more compute bound tasks for which you need multiple cores). the encapsulation wouldn't matter either way.
@kronik907
@kronik907 Месяц назад
In the example, he was talking about API calls, which needs batching rather than parallelization. Whereas in other cases parallelization might be a better solution. But I think his point still stands that in either case you have to look at the high level "What are we trying to do here" questions and determine if your overall architecture is going to let you meet your performance goals, and in many cases, the way you choose to encapsulate your code can have a huge impact on how performant your code can be.
@chauchau0825
@chauchau0825 Месяц назад
Too much abstraction is bad, too much composition is also bad. Everything is a trade off. There is no correct answer.
Далее
God-Tier Developer Roadmap
16:42
Просмотров 7 млн
Turns out REST APIs weren't the answer (and that's OK!)
10:38
ЛИЗА - СПАСАТЕЛЬ😍😍😍
00:25
Просмотров 2,5 млн
Construction site video BEST.99
01:00
Просмотров 319 тыс.
SHIRT NUMBER OR SWIM 🙈💦
00:32
Просмотров 5 млн
The 3 Laws of Writing Readable Code
5:28
Просмотров 482 тыс.
The Clever Way to Count Tanks - Numberphile
16:45
Просмотров 997 тыс.
This Is Why Managers Don't Trust Programmers...
28:04
Просмотров 249 тыс.
The Logging Everyone Should Be Using in .NET
15:34
Просмотров 59 тыс.
Turning bad React code into senior React code
13:10
Просмотров 89 тыс.
ЛИЗА - СПАСАТЕЛЬ😍😍😍
00:25
Просмотров 2,5 млн