This could be a good example. No need to do it in this way. You can declare https://github.com/joomla/joomla-cms/blob/staging/libraries/legacy/controller/legacy.php#L39 this variable in your child class.
For Example:
```php
<?php
	/**
* The default view for the display method.
*
* @var string
* @since 12.2
*/
protected $default_view = 'helloworlds';
```