mirror of
https://github.com/archtechx/laravel-tips.git
synced 2025-12-12 21:34:03 +00:00
540 B
540 B
| title | tweet_id | thread_slug | author_username | images | created_at | slug | |
|---|---|---|---|---|---|---|---|
| Don't just write procedural code in classes | 1272822462040899584 | laravel-clean-code-tactics | samuelstancl |
|
2020-06-16T09:24:57+00:00 | dont-just-write-procedural-code-in-classes |
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 😬