Is it possible to use YAGNI in the past tense? You created some functionality, it was used several times ago, but you no longer use it, and you do not want to support it, so it is better to remove it.
Does unused or rarely used functionality get rid of, which is bad?
Background
- I use source control, so if I need functionality again, I can get it.
- I am the only user of my software (I am a bioinformatics analyzing a data set).
- One of the scenarios that I came across was that I used inheritance, with a parent class and two child classes. One of them was to process files generated using the 454 sequence (next-generation sequencing), and the other was to process files generated by Sanger sequencing (previous-generation sequencing). I actively supported the latter, but not the first. My mistake may have been to use inheritance rather than composition, but that's a slightly different story.
source
share