Prefer to read instead of watching? Check out the article version of this video: aaronfrancis.com/2024/laravels-higher-order-collection-proxies-451f4176
I was just about to write simple 3 line each loop, then remembered about this feauture from one of your videos and now I saved 2 lines into cool oneliner. Thanks!
I've used higher-order proxies, however, I don't like them. They break LSP hints and I've been embracing the stricter/more staticky typing of PHP 8. I wish Laravel would also throw away some of its magic *debugger()* statements in Eloquent relationship methods and the many *__get()* / *__set()* methods. The new JIT provides a good amount of performance but the dynamic magic of the frameworks trip it up
nice video, but i think i don't like this pattern. i think there's nothing wrong with foreach, making it more expressive that you're working with multiple variables of a collection/list.
These highirderproxy is not really mentioned or shown like this in the docs. Like in the docs it's shown chained. But never mentioned you can use it like this. Does this only work for each?
Prefer to read instead of watching? Check out the article version of this video: aaronfrancis.com/2024/laravels-higher-order-collection-proxies-451f4176
I was just about to write simple 3 line each loop, then remembered about this feauture from one of your videos and now I saved 2 lines into cool oneliner. Thanks!
This is such a fun series. Keep it up!
Hi, I work at Zevia! Thanks for the feedback, how can we improve the product Aaron?
Woah for real?
@@aarondfrancis You've just leveled up.
npm i zevia
Tell them to make it available in Nepal too Aaron .
The part when we deleted the test was the cherry on top 😂 love this ❤
Haven’t used’m before, but I will now. Thanks.
Also, I kind of want to give Zevia a try 😅 my expectations are low, so I might enjoy it.
This is a fun. Keep it up!
it will be really helpful if you make light on Laravel Reverb, for web or mobile like react native
I've used higher-order proxies, however, I don't like them. They break LSP hints and I've been embracing the stricter/more staticky typing of PHP 8. I wish Laravel would also throw away some of its magic *debugger()* statements in Eloquent relationship methods and the many *__get()* / *__set()* methods. The new JIT provides a good amount of performance but the dynamic magic of the frameworks trip it up
You can just add a type comment to tell PHP Storm that it's an instance of Browser and you get it all back
Oh snap, I do laravel and I didn't know I could do this 😆
nice video, but i think i don't like this pattern. i think there's nothing wrong with foreach, making it more expressive that you're working with multiple variables of a collection/list.
Short yet beneficial ❤
And not wasting time on thumbnails 😜
These highirderproxy is not really mentioned or shown like this in the docs. Like in the docs it's shown chained. But never mentioned you can use it like this. Does this only work for each?
thanks amazing keep it up دمت گرم
bro, black cherry zevia, their only actual flavor imo
still has the aftertaste, but much more tolerable imo
Yayy first 🎉
Second 😂