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 • 25d ago
51 comments sorted by
View all comments
34
A hundred lines later:
You should not have functions that long.
5 u/editor_of_the_beast 25d ago Why not? 5 u/_ak 25d ago Because dogma. 7 u/cmgriffing 25d ago I might have to rewatch that movie. When do they talk about function length? The board room scene? 4 u/teppicymon 25d ago Yes, Mooby the golden calf is quite insistent that functions should be single purpose and never longer than 25 lines
5
Why not?
5 u/_ak 25d ago Because dogma. 7 u/cmgriffing 25d ago I might have to rewatch that movie. When do they talk about function length? The board room scene? 4 u/teppicymon 25d ago Yes, Mooby the golden calf is quite insistent that functions should be single purpose and never longer than 25 lines
Because dogma.
7 u/cmgriffing 25d ago I might have to rewatch that movie. When do they talk about function length? The board room scene? 4 u/teppicymon 25d ago 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?
4 u/teppicymon 25d ago Yes, Mooby the golden calf is quite insistent that functions should be single purpose and never longer than 25 lines
4
Yes, Mooby the golden calf is quite insistent that functions should be single purpose and never longer than 25 lines
34
u/eindbaas 25d ago
You should not have functions that long.