21
How Long Should a Function Be? (And Why It’s the Wrong Question to Ask)
(adamtornhill.substack.com)
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Follow the wormhole through a path of communities !webdev@programming.dev
42 or 69
Depends on the function. Scientific functions should be 42 long, and for a couple of functions it should be 69. I don't make the rules here.
I've heard the younger generation tends to prefer 21 or 67 long functions instead.