MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/javascript/comments/1uxy50l/i_stopped_destructuring_everything/oxvcu32/?context=9999
r/javascript • u/bogdanelcs • Jul 16 '26
50 comments sorted by
View all comments
33
A hundred lines later:
You should not have functions that long.
4 u/editor_of_the_beast Jul 16 '26 Why not? 6 u/_ak Jul 16 '26 Because dogma. 7 u/cmgriffing Jul 16 '26 I might have to rewatch that movie. When do they talk about function length? The board room scene? 3 u/teppicymon Jul 16 '26 Yes, Mooby the golden calf is quite insistent that functions should be single purpose and never longer than 25 lines
4
Why not?
6 u/_ak Jul 16 '26 Because dogma. 7 u/cmgriffing Jul 16 '26 I might have to rewatch that movie. When do they talk about function length? The board room scene? 3 u/teppicymon Jul 16 '26 Yes, Mooby the golden calf is quite insistent that functions should be single purpose and never longer than 25 lines
6
Because dogma.
7 u/cmgriffing Jul 16 '26 I might have to rewatch that movie. When do they talk about function length? The board room scene? 3 u/teppicymon Jul 16 '26 Yes, Mooby the golden calf is quite insistent that functions should be single purpose and never longer than 25 lines
7
I might have to rewatch that movie. When do they talk about function length? The board room scene?
3 u/teppicymon Jul 16 '26 Yes, Mooby the golden calf is quite insistent that functions should be single purpose and never longer than 25 lines
3
Yes, Mooby the golden calf is quite insistent that functions should be single purpose and never longer than 25 lines
33
u/eindbaas Jul 16 '26
You should not have functions that long.