A trick to improve your class names

Original – by Freek Van der Herten – 1 minute read

Sometimes it is not clear what the responsibility of a certain class is. This can be solved by adding a suffix to the class name.

Stay up to date with all things Laravel, PHP, and JavaScript.

Follow me on Twitter. I regularly tweet out programming tips, and what I myself have learned in ongoing projects.

Every two weeks I send out a newsletter containing lots of interesting stuff for the modern PHP developer.

Expect quick tips & tricks, interesting tutorials, opinions and packages. Because I work with Laravel every day there is an emphasis on that framework.

Rest assured that I will only use your email address to send you the newsletter and will not use it for any other purposes.

Comments

Webmentions

Faisal Shaikh retweeted on 24th May 2021
Faisal Shaikh liked on 24th May 2021
Freddy Vargas retweeted on 23rd May 2021
Freddy Vargas liked on 23rd May 2021
Uyime Jackson liked on 23rd May 2021
RR liked on 23rd May 2021
João Oliveira liked on 23rd May 2021
Rassyndell liked on 23rd May 2021
Osvaldo Maria 🇲🇿 liked on 23rd May 2021
Milan Chheda 👨‍💻 liked on 22nd May 2021
Zysk Technologies liked on 22nd May 2021
Deepak liked on 22nd May 2021
Muhammad KaLeeM💎 liked on 22nd May 2021
oмer aвdυlqader liked on 20th May 2021
oмer aвdυlqader retweeted on 20th May 2021
Peter Brinck 🤘 liked on 18th May 2021
chetan kharel liked on 18th May 2021
Carlos Uriel liked on 18th May 2021
Johnson liked on 18th May 2021
Salman Zafar liked on 18th May 2021
Matthew Poulter liked on 18th May 2021
Ali Mahdavi liked on 17th May 2021
Sonicastra liked on 17th May 2021
Rabbir Hossain liked on 17th May 2021
Ken V. retweeted on 17th May 2021
Ken V. liked on 17th May 2021
Adeyimika Koya liked on 17th May 2021
smknstd liked on 17th May 2021
Jel liked on 17th May 2021
Toan Nguyen liked on 17th May 2021
Aleksandar Mitić liked on 17th May 2021
Joaquin Echevarria liked on 17th May 2021
ArielMejiaDev liked on 17th May 2021
ArielMejiaDev retweeted on 17th May 2021
Padam Shankhadev liked on 17th May 2021
Ravi Teja liked on 17th May 2021
Hassan Haseed liked on 17th May 2021
Hadi Swais liked on 17th May 2021
MOHAMED JINAS retweeted on 17th May 2021
Johan Vervloet liked on 17th May 2021
Tauseef Shah liked on 17th May 2021
José Cage retweeted on 17th May 2021
Brenier Arnaud retweeted on 17th May 2021
kronos_I retweeted on 17th May 2021
Brenier Arnaud liked on 17th May 2021
PHP Synopsis liked on 17th May 2021
Eyal Gantz 🐘 liked on 17th May 2021
José Cage liked on 17th May 2021
Laravel Idea liked on 17th May 2021
Erik Galloway liked on 17th May 2021
Mia 🏳️‍⚧️ liked on 17th May 2021
M U N Z I R liked on 17th May 2021
Mark Topper liked on 17th May 2021
Masoud Hb liked on 17th May 2021
Willan Correia liked on 17th May 2021