In the first post in this series, we discussed the reasons that WordPress Plugins should be treated more like larger software projects (but often aren’t) and made a case for using well-organized code in an attempt to make our plugin projects more maintainable….
Source: https://code.tutsplus.com/tutorials/writing-maintainable-wordpress-widgets-part-2-of-2–wp-20391