No video

The Abstraction Penalty

  Рет қаралды 1,369

Human Made

Human Made

Күн бұрын

Пікірлер: 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.
@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.
@Drivingralle
@Drivingralle Ай бұрын
I highly agree
@chauchau0825
@chauchau0825 Ай бұрын
Too much abstraction is bad, too much composition is also bad. Everything is a trade off. There is no correct answer.
The New Option and Result Types of C#
15:05
Nick Chapsas
Рет қаралды 55 М.
Programming's Greatest Mistakes • Mark Rendle • GOTO 2023
51:24
GOTO Conferences
Рет қаралды 89 М.
Jumping off balcony pulls her tooth! 🫣🦷
01:00
Justin Flom
Рет қаралды 35 МЛН
Pool Bed Prank By My Grandpa 😂 #funny
00:47
SKITS
Рет қаралды 18 МЛН
女孩妒忌小丑女? #小丑#shorts
00:34
好人小丑
Рет қаралды 17 МЛН
Harley Quinn's desire to win!!!#Harley Quinn #joker
00:24
Harley Quinn with the Joker
Рет қаралды 7 МЛН
I forced EVERYONE to use Linux
22:59
NetworkChuck
Рет қаралды 366 М.
This Is Why Managers Don't Trust Programmers...
28:04
Thriving Technologist
Рет қаралды 247 М.
All Rust features explained
21:30
Let's Get Rusty
Рет қаралды 301 М.
Don't Use Polly in .NET Directly. Use this instead!
14:58
Nick Chapsas
Рет қаралды 56 М.
The Clever Way to Count Tanks - Numberphile
16:45
Numberphile
Рет қаралды 939 М.
*Next-door 10x Software Engineer* [FULL]
4:50
Programmers are also human
Рет қаралды 506 М.
The World Depends on 60-Year-Old Code No One Knows Anymore
9:30
Coding with Dee
Рет қаралды 740 М.
I Hacked a Discord Bot, the Owner said this...
9:09
No Text To Speech
Рет қаралды 1,2 МЛН
Abstraction Can Make Your Code Worse
5:13
CodeAesthetic
Рет қаралды 636 М.
Jumping off balcony pulls her tooth! 🫣🦷
01:00
Justin Flom
Рет қаралды 35 МЛН