Oliver Maksimović

48 Followers
134 Following
398 Posts
Earning a living with #PHP since 2005. In love with modernizing legacy codebases, excited by mission critical features.
PHP 8.5 will be released tomorrow, but the release announcement is already live - check that out: https://www.php.net/releases/8.5/en.php
#php
PHP: PHP 8.5 Release Announcement

PHP 8.5 is a major update of the PHP language, with new features including the URI Extension, Pipe Operator, and support for modifying properties while cloning.

Don't do it.

But, if I were you... I'd not listen to my advice 😄

(Yes, guilty a lot for working outside work hours because the urge was too big)

Imagine if the package registries and #OpenSource components that you use were no longer available.

Would you still be able to deliver a single line of code? Would your software even start, or would your business come to a standstill within minutes?

https://phpunit.expert/articles/open-source-blackout.html?ref=mastodon

Open Source Blackout

"Open Source Blackout", an article by Sebastian Bergmann

I just think there's such an illusion of determinism in the software industry. As if all things are observed. As if any finding must generalize. As if (and I think this one is a profound one) all software developers are uniform and entirely fungible

One of the projects I'm working on is really huge (1m LoC) and it confuses AI the most, it's literally unbearable to keep it on. But, even in codebases that are young and really robust, free from magic and whatnot, AI still often tries to do impossible things or invents solutions that have so subtle bugs that pass code reviews from me and another senior developers.

I literally can't understand how anyone can push such code to production and sleep peacefully 🧐

Do you use an AI helper while you code? In my own experience, it's a zero sum game at best. Sometimes it helps, and sometimes it spits out pure junk (or wants to spit and I need to prevent it from doing so).

The flavor of AI doesn't matter much. I ended up turning everything off again, because all they do needs to be carefully reviewed _always_. It's like having a teammate whose actual skills are not clear, so you're never able to have confidence in what they do.

I still work there and my career path in the company has been unaffected by that unfortunate event. I doubt that it would've been the case if I tried to blame others, e.g. for not noticing the lack of profit being made for almost a year 😄 (Later I did make tools to ensure that such a thing never happens again, though)
@Albright Definitely the right way. Several years ago my mistake cost the company around $350k (it's a huge fintech business). It was the profit not made, not the actual loss of money, but still... After chasing the problem down and fixing it quickly, I wrote a post mortem email, being 100% honest. Later I got the email from the CEO himself, thanking me and tapping me on the back. I truly expected being in debt for a decade or something like that, or at least receiving a dismissal letter.
My older brother once told me if you don't congratulate yourself no one will. So in summary the total download of all my #PHP packages has now surpassed the 500 millions lead by league/uri and league/csv 🎉🎉🎉🎉 and the best part of it is that I never actively made any marketing of any of those packages which hopefully speaks volume about their usefulness