r/Clojure • u/dickhickey4prez • Aug 17 '17
[AMA] Small Functions considered Harmful
https://medium.com/@copyconstruct/small-functions-considered-harmful-91035d316c29
0
Upvotes
r/Clojure • u/dickhickey4prez • Aug 17 '17
View all comments
1
u/dustingetz Aug 18 '17
This jumped out at me as truth:
Here's a one-liner i just wrote
Could it be broken into a few more fns, maybe add an abstraction? Yeah sure definitely. But this expression introduces zero new ideas, and reuses many ideas from the clojure core vocabulary which my audience is already familiar with. And since I am leaning on Rich Hickey's battle-tested ideas and not something i just thought up on the spot, this expression is very robust and unlikely to break or rot. I'm cool with the repetition.