You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 16, 2021. It is now read-only.
Laravel 6.0 would be an excellent opportunity to remove facades because breaking changes are expected.
As Taylor has stated before and many others, it can lead to bad architectural habits and encourages developers especially beginners to write bad code.
Type hinting dependencies is super simple, and I don't see a reason why facades should continue to exist in the framework. I believe that many would agree. I understand that it can be difficult to remove them in a minor version, but Laravel 6.0 would be an excellent opportunity to do that.
I guess that the major argument against this would be breaking changes, but it takes time for a framework to grow and mature so this is in my opinion a good step in the right direction.
Edit: It may also be possible to move them into a separate package, but I'm not sure if this is trivial.
Laravel 6.0 would be an excellent opportunity to remove facades because breaking changes are expected.
As Taylor has stated before and many others, it can lead to bad architectural habits and encourages developers especially beginners to write bad code.
Type hinting dependencies is super simple, and I don't see a reason why facades should continue to exist in the framework. I believe that many would agree. I understand that it can be difficult to remove them in a minor version, but Laravel 6.0 would be an excellent opportunity to do that.
I guess that the major argument against this would be breaking changes, but it takes time for a framework to grow and mature so this is in my opinion a good step in the right direction.
Edit: It may also be possible to move them into a separate package, but I'm not sure if this is trivial.