title: Résister à la généralisation

> “Wow, I can simplify this; if I just generalize this class or build this Framework it would be so much easier to accomplish what I want to do!”. It happened all the time. I would write Game Engines when I was trying to write games, or forum software when I was trying to start a forum. […] I loved writing beautiful, generic code, that could easily be re-used in the future.
>
> I kept doing this for a long time. I kept generalizing stuff, I kept trying to make things generic. And eventually I learned, the hard way, the truth about generalization: It is (almost always) a waste of time.
> 
> <cite>*[On Generalization](https://medium.com/@fredriknoren/on-generalization-608949214e63)* ([cache](/david/cache/6a8333a51763d218ed3626352b5334fa/))</cite>

Le fichier fabric qui génère l’intégralité de ce site fait maintenant plus de 1000 lignes. C’est énorme vu la concision que permet Python. Mais c’est presque avec nostalgie que j’évite de refactoriser tout ça. Il est le témoin de mes errements et de mes erreurs, de mes contradictions et de mes habitudes qui évoluent. Et il me retient surtout de le partager et de subir le poids de la maintenance.
