While there is a difference between knowing something and knowing the name of something; the former method gives importance to knowing the name of something and the latter one ensures that a person actually knows and understands something. https://www.srijan.net/blog/revisiting-php-design-pattern-concepts-in-drupal-8