Cute Features

en in code • 1 min read
Mind the age! Most likely, its content is outdated. Especially if it’s technical.

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 Mami, tati, přejde to, December 9, 2023 in family
cs Co vše bychom měli dělat s dětmi?, November 24, 2023 in family
cs O trávicí trubici, November 7, 2023 in family
cs Na šestinedělí se nevyspíš, October 28, 2023 in family
cs Copak to bude?, October 20, 2023 in family