mirror of
https://github.com/archtechx/laravel-tips.git
synced 2025-12-12 13:24:03 +00:00
16 lines
No EOL
527 B
Markdown
16 lines
No EOL
527 B
Markdown
---
|
|
title: 'Don''t use abbreviations'
|
|
tweet_id: '1272822472329572355'
|
|
thread_slug: laravel-clean-code-tactics
|
|
author_username: samuelstancl
|
|
images:
|
|
- 'https://pbs.twimg.com/media/Ean4TBBXgAAMab3.png'
|
|
created_at: 2020-06-16T09:24:59+00:00
|
|
slug: 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 |