@s4.codes: Keep your argument count low to reduce mental weight #programming #coding #code #cleancode

Asfar Ali
Asfar Ali
Open In TikTok:
Region: US
Tuesday 20 January 2026 12:38:26 GMT
447625
35249
355
1816

Music

Download

Comments

aarondanen
lk :
Save user with no arguments is wild. Do we have a global variable "current user" or something 😭😭😭
2026-01-20 17:51:38
311
sindrezoth
Zoth :
function must be idenpotent, not to do side effects
2026-01-20 22:04:16
17
michael.d568
michael.d568 :
Please don't do this 😭
2026-01-20 17:10:31
660
grippi
grippi :
win32api
2026-01-20 13:06:06
589
jepsan17
jep :
0 argument is not ideal lol
2026-01-20 23:40:36
144
anihs_
Nish :
No arguments mean external dependencies. One more thing developers discover after using your function
2026-01-20 16:47:10
432
jjvvbc_boombox
gionemba :
i feel like this wasn't about code.
2026-01-20 17:25:56
40
dullifan72
DulliSchnulli :
Pure functions have all inputs explicit. No hidden State
2026-01-20 22:58:19
15
rawa.nd
Rawand :
How do you make these videoes please?
2026-01-20 12:42:16
11
li9uidizer
liquid :
true devs don't do tests
2026-01-22 11:54:51
6
bugajpcmr
BugajPCMR :
maybe I will just make some global variables?? no arguments needed
2026-01-20 20:47:44
4
adadadd39
AD :
you still need the test cases tho
2026-01-20 15:17:50
10
robin_pulsarr
Robin :
Or, use typescript.
2026-02-21 23:00:00
2
ipanks69
𝒊𝒑𝒂𝒏𝒌𝒔 :
why must use object? when you can send all the data as a variabel?
2026-04-05 21:27:04
0
ferchufer20
Fernando :
One argument: {..} 😂
2026-01-20 20:34:36
3
taixecoi
Tài Xế Còi :
No argument means too many global arguments to pass to the function call 🤣
2026-02-12 01:11:36
1
lacnguyen99
Lac Nguyen :
Name it a,b,c. Every argument is a story 😂
2026-01-20 13:28:15
7
pj_marmoleado
DH :
0 arguments means the function is impure, that's the opposite of what I want
2026-01-22 04:13:22
1
jordi_cunillera
Jordi Cunillera :
so now i need a function to create the object user with all the 5 aeguments, nice 😂
2026-01-22 00:19:18
7
schongesagt
• D A N • :
Typical OpenGL functions take like 5+ arguments 🤷🏻
2026-01-20 22:47:20
2
yamthief
Yamthief :
Commenting to stay on CleanCodeTok
2026-01-20 17:54:34
1
aramideajax
Olasubomi :
Small problem with this … object shape 😭 still carries same mental stress if not more
2026-01-21 18:06:57
1
bolaside
bolaside!(); :
Minecraft with its 10+ argument texture blit functions
2026-01-21 00:40:49
1
iphantomgz
iPhantomGZ :
when to much args create a beidge class holding all vars, a read only class would be great
2026-01-20 17:57:54
1
nazuris
Queef :
i swear this isnt really about code
2026-01-20 16:35:08
1
To see more videos from user @s4.codes, please go to the Tikwm homepage.

Other Videos


About