Aug 22, 2017 · 1 min read
This post is such a long function… Imagine the number of blog posts you could have made by abstracting away each idea into a separate post!
Small functions really work for me. But “small” for me means “does something useful and I do not have headaches reading it back a year later”. In python, 3 to 10 lines are usually enough and if I write a 12 lines function in python it usually means I was tired but had to get it done and will probably throw away the function at the next refactor.