1
0
Fork 0
mirror of https://github.com/archtechx/laravel-tips.git synced 2025-12-12 13:24:03 +00:00
laravel-tips/content/tips/dont-use-abbreviations.md
2021-04-07 20:16:47 +02:00

527 B

title tweet_id thread_slug author_username images created_at slug
Don't use abbreviations 1272822472329572355 laravel-clean-code-tactics samuelstancl
https://pbs.twimg.com/media/Ean4TBBXgAAMab3.png
2020-06-16T09:24:59+00:00 dont-use-abbreviations

Don't think that long variable/method names are wrong. They're not. They're expressive.

Better to call a longer method than a short one and check the docblock to understand what it does

Same with variables. Don't use nonsense 3-letters abbreviations