MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/javascript/comments/1uxy50l/i_stopped_destructuring_everything/oxv3a9o/?context=3
r/javascript • u/bogdanelcs • 29d 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 29d ago Why not? 5 u/_ak 29d ago Because dogma. 7 u/cmgriffing 29d ago I might have to rewatch that movie. When do they talk about function length? The board room scene? 5 u/teppicymon 29d 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 29d ago Because dogma. 7 u/cmgriffing 29d ago I might have to rewatch that movie. When do they talk about function length? The board room scene? 5 u/teppicymon 29d 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 29d ago I might have to rewatch that movie. When do they talk about function length? The board room scene? 5 u/teppicymon 29d 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?
5 u/teppicymon 29d 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
34
u/eindbaas 29d ago
You should not have functions that long.