Pattern: Class constructor not explicit
Issue: -
Class has a constructor that is not explicit. Such constructors should in general be explicit for type safety reasons. Using the explicit
keyword in the constructor means some mistakes when using the class can be avoided.