@s4.codes: Stop splitting long functions by length. Split them where the data stops being shared.

Asfar Ali
Asfar Ali
Open In TikTok:
Region: GB
Sunday 20 September 2026 12:00:00 GMT
34006
1836
26
50

Music

Download

Comments

y9vad9
sukara :
...and now in order to reason about the code, you need to jump between files to see the same code as it was before. code complexity got significantly worse - and don't even get me started with how much worse it's for consumers of your code. you just shifted the complexity from one place to another. abstraction should hide complexity, not code
2026-09-20 17:55:57
25
erannnnnn
Eran :
I can’t think of any experienced engineer that would prefer the hell you suggest over a single function. It can be simplified though, but you are suggesting overcomplicating it. No.
2026-09-21 05:44:57
0
lucianfundamentalists
Lucian :
is this rust?
2026-09-20 16:28:37
0
mrbisquit2021
William :
I'm never letting this guy near my codebase
2026-09-21 00:11:45
6
user65828714
user658287 :
I hate a class containing million functions.
2026-09-20 20:09:27
9
thelogicall
A :
Covert this man to a skill.md
2026-09-21 01:27:11
0
jie.wang3206
Jie :
try Effect
2026-09-20 21:43:47
0
norman.dev
Norman | Fullstack Dev :
is this is one of the clean code practicies? or an OOP? what if I use express or laravel?
2026-09-20 14:04:31
2
d.shapiyev
dosik🤭 :
Put all of those videos in a playlist 🙏🏻
2026-09-20 13:44:23
3
lukynfiala
Lukas Fiala :
I don’t like using classes in TS
2026-09-20 21:09:02
1
cyphers_my_husband
cyphers_my_husband :
Smelly code
2026-09-20 20:00:26
0
imlunahey
luna 🏳️‍⚧️🏳️‍🌈🇦🇺 :
this doesn’t need to be a class. stop listening to uncle bob lol
2026-09-20 23:44:02
0
lucasoderso23
Lucas :
Classes are so 2000
2026-09-20 12:55:07
2
siphomkhwanazi44
CodeWeaver :
Last of a dying breed.👏🏾
2026-09-20 20:33:18
0
darkrodfr
DarkRod :
Ai cant do this. Thanks.
2026-09-20 22:19:55
0
blueplace3
blueplace :
This is completely wrong. You made 1 function that's easily understandable into a jumping mess that you have to name and reason as if it was something more than it is
2026-09-20 20:02:03
3
xhollownightx
HollowNight :
Not 👏 everything 👏 needs 👏 to 👏 be 👏 a 👏 class.
2026-09-20 18:43:17
2
marin3ro.l3on
Leon Marinero :
Shit… this is HUGE
2026-09-20 23:44:21
0
amackintosh
amackintosh 🇨🇦 :
priceCart is a bad function name
2026-09-20 17:01:06
0
sebastian23kws
El maldito :
this is a new level of slop
2026-09-21 02:58:19
0
To see more videos from user @s4.codes, please go to the Tikwm homepage.

Other Videos


About