This comment arose recently at The jbrains Experience in a discussion about whether all software design choices are “like, just my opinion, man”. I’ve kind of looked at this in the way. That a beginner needs rules because they don’t yet have the experience to judge each situation on its own. I suppose I am in a way asking for a rule to help hone my judgement when I should or might want to refactor. Indeed, so here are some rules that I’ve found helpful over the years: refactor only ...