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/match-statements-are-a-great-way-to-clean-up-code.md
lukinovec 1a53831d4d
Weekly thread #5-#7, use actual created_at timestamp in Thread creation (#27)
* Weekly thread #5

* Weekly thread #6 (before #5)

* Weekly thread #5

* Correct the weekly thread created_at timestamps

* Add actual created_at to Thread

* Weekly thread #7

* Fix weekly thread #7

* Remove thread #8
2022-02-21 17:24:21 +01:00

467 B

title tweet_id thread_slug author_username images created_at slug
match() statements are a great way to clean up code 1489620168233734144 weekly-thread-2022-05 cerbero90
https://pbs.twimg.com/media/FKqzQ68aMAAqGdX.png
2022-02-04T15:21:38+00:00 match-statements-are-a-great-way-to-clean-up-code

Match offers such a compact and clean syntax compared to its PHP alternatives 🌈

It can make our code way more readable and concise 💅

#PHP