Cute Features

en in code • 1 min read

I produced a lot of code. A lot. I tried very hard to make all that code beautiful. Several times I was doing some cute features. Parts of the code which are not needed for the required result, but feels right. Or cool. Many times in those cases, I regretted that after.

The cute feature could be:

  • Organize small bits (instead of keeping them in one file until it gets bigger to see which structure makes more sense)
  • Layers of abstraction (instead of tight it together until there is a need for the abstraction)
  • Future functions (instead of waiting for the time functionality is really needed)

Today isn’t New Year, but I’m taking resolution regardless:

I will not do any cute feature again!

The only constant is that requirements mutate. I will try harder to keep the code easy to change, not overengineer stuff, and not trying to make it nice as much as possible.

I recommend the same to you, but I understand you need to come to this point alone. :-)

You may also like

en Makefile with Python, November 6, 2017
en Fast JSON Schema for Python, October 1, 2018
en Deployment of Python Apps, August 15, 2018
cs Jasně, umím Git…, August 6, 2014
cs Checklist na zabezpečení webových aplikací, March 1, 2016

More posts from category code.
Do not miss new posts thanks to Atom/RSS feed.

Recent posts

cs Zápisky z cest: Skotské ostrovy, May 7, 2022 in travel
cs Co s penězi?, March 21, 2022 in family
cs E-shop polštářů, March 14, 2022 in family
en Arduino Build: Restroom Clock, March 2, 2022 in code
en MTB Improvements in Last Decade, February 10, 2022 in reviews