Follow

RT @suckup_de@twitter.com

1) Consistent meaningful naming and renaming is a must!

e.g.:
bad: $usr = new Contact($usr)
still bad: $contact = new Contact($user)

better: $contact = $user->getContact();

medium.com/better-programming/

🐦🔗: twitter.com/suckup_de/status/1

· · Mastodon Twitter Crossposter · 0 · 0 · 0
Sign in to participate in the conversation
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!