Don't just write procedural code in classes
- ·
- Telegram
- ·
- Newsletter
This ties the previous tweet with the other tips here. OOP exists to make your code more readable, use it. Don't just write 400 line long procedural code in controller actions.
Here's code from my first Laravel project 😬