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/extract-methods.md
2021-04-06 18:27:18 +02:00

12 lines
No EOL
392 B
Markdown

---
title: 'Extract methods'
tweet_id: '1272822455393026049'
thread_slug: laravel-clean-code-tactics
author_username: samuelstancl
images:
- 'https://pbs.twimg.com/media/Ean1UORWkAE4UDD.jpg'
created_at: 2021-04-06T16:07:27+00:00
slug: extract-methods
---
If some method is too long or complex, and it's hard to understand what exactly is happening, split the logic into multiple methods.