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-split-lines-at-random-places-but-dont-make-them-too-long-either.md
2021-04-06 18:27:18 +02:00

14 lines
No EOL
547 B
Markdown

---
title: 'Don''t split lines at random places, but don''t make them too long either'
tweet_id: '1272822442990473216'
thread_slug: laravel-clean-code-tactics
author_username: samuelstancl
images:
- 'https://pbs.twimg.com/media/Eanz0jnXsAAvkv1.jpg'
created_at: 2021-04-06T16:07:23+00:00
slug: dont-split-lines-at-random-places-but-dont-make-them-too-long-either
---
Opening an array with [ and indenting the values tends to work well. Same with long function parameter values.
Other good places to split lines are chained calls and closures.