i always find this advice to be only applicable to a small amount of code and pretty terrible outside a limited scope:
medium.com/storyblocks-en
Conversation
Replying to
Don't really see how having a bunch of non-reused tiny functions helps if you aren't using any complex control flow or mutable variables.
I don't think that makes the code more readable aside from naming sections of the code, which doesn't require functions.
Replying to
yeah, that's what i'm critiquing. it's "clean code" gone wrong. and it's common advice, and this shit advice somehow has 17k "claps".
1
Replying to
Needing to pass around variables and in the correct order to non-reused functions just makes things more complicated.
Since they aren't actually going to be an API that's going to be reused, the parameters being passed around also probably won't make much sense. Not a fan of it.
2
1
Show replies


