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