re: 3 simple tips to improve your Laravel code today VIEW POST


Thank you so much for this beautifully written article. I use these quite a lot in my day-to-day work at my job. I was taught this was a while ago and have never looked back. It's such a lovely way to write methods that need to be iterated over a collection.

If you're interested, Adam Wathan released a book called Refactoring to Collections which has helped me greatly when it came to never having to write another 'traditional loop'.

code of conduct - report abuse