PHP 8.6 adds a feature called partial function application. Here's how it works: php $foo = str_replace(?, 'x', ?); $bar = $foo('a', 'aloha'); // xlohx I'm not a fan of this feature, as it's just a confusing syntax sugar. Consider this example: php $value1 = str_replace('a', 'x', 'aloha'); $value2 =...
I was wondering if the AI era somehow made you less excited about new Laravel releases, because that's what it is for me personally. I feel like AI is sucking out all the joy of programming, so now I'm meh to whatever changes in languages or framework. Does anyone feel the same?
I struggle to understand how multiplayer online games work with WebSockets. I've always thought that they keep one connection open for both sides of the communication - sending and receiving, so the latency is as minimal as possible. However, Laravel seems to suggest sending messages via WebSockets...
Posting in gamedev sub, because gaming is one of the contexts of AI that make a good example in my opinion. Where do my negative emotions towards AI come from? I feel like AI will be yet new tool to prioritize money over anything, really. Like the world wasn't bad enough before AI in that regard. Cr...