Beware the Bloated Constructor
What’s a Bloated Constructor? Yesterday, I was going through the version history of a file in some code base (from earliest to most recent) and I saw the following: public ActiveProduct(Product product, StringVersion driver, Side es) { Side = es; try { if (product == null) throw new Exception(“Can’t create an active product from a…
