Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
@spongegeoff I haven't found a better way to debug a live wordpress with an autoupdated extension that crashed everything because the PHP version was not the correct one.
PHP is an unjustified pain, and creating more php software means only adding more technical debt to people that will need to maintain it.
And I said, you do what you want, you can even like it, but you cannot say that it is a great programming language. It just can't be.
@spongegeoff What do you mean? Writing on the internet that every language that is not PHP is not used doesn't make it true. :/
Js is different: you can run only js on a lot of platforms. Devs are forced to use it, and to make it less painful, they tried to change it. From coffeescript to typescript. This is the community screaming IT SUCKS, and you cannot just ignore it.
Other languages are just languages, and they all have goods and bads, but they all have something in common: they are better than php.
Do you want an example? == / ===. Or json_decode to be used with json_last_error to see if NULL was a valid result or an invalid result.
PHP was designed for non programmers, not to build complex software, and doesn't matter how many patches, versions, or active projects it has, it is still a bad programming language.
@ostream Don't bee too harsh, C has definitely issues, but a threat? That's C++. :D
Not recognising that this "widely used language" offers more problems than solutions shows how poorly PHP defenders understand their tools.
You don't need to be an amazing scientist to see this, you just need to know more than a single programming language.
@kwilliams yes, thats why in serious environments you use typescript. Js wasn't designed to be used as we use it today, and it shouldn't. And this applies to php too, not designed to do production stuff, it shouldn't be used.
Then, I know people still using vb6 because it rocks, so you can certainly choose your torture device.
@spongegeoff vba? You know that there are real languages out there?
Yes, why would a constructor have a side effect so unstable that it is allowed to fail?
Cannot you pass the failable component as a parameter and avoid the constructor to fail?
In my last 20 years I never ever needed a constructor to fail.
@spongegeoff it's not easy to use, its easy to write bad code with it.
Check the vulnerabilities in php projects.
And fucking die() to debug is still the easiest way to debug what's going on, while if you had a sane programming language you would just debug your code.
In 2022 using php to do anything on production is just wrong.
I maintain a php site I inherited, and I am looking forward to kill it with fire.
I gave up with vue. The fact they discontinued vue2 and now I have to migrate all my vue projects to the new version by refuckingwriting every component is insane.
The class component library will never fully migrate, the component decorator is now options and it doesn't work in the same way.
But, hey, now vue apps are 5% faster than the class component approach, so the 1% of the apps written with vue will see the improvement.
I'm moving to react. Different shit, bigger community, intrinsically more future proof. Unless Facebook dies in flames.
I should switch to .net blazor, no fucking npm or personal toy framework like vue.
I hate ui development.
I can't understand what's beautiful in a language that contains '!important'.
From 'burned by companies' to 'burned by clients', but taxed more.
@useVim not fully. He pushed me to understand a lot of things. To avoid seeing him again, I resigned, I
changed country, found a better job, and essentially kick-started my new life. Sometimes you need to survive hell to understand what it means.
Burn your phone. Uninstall all apps, you can always reinstall them later. Once they're gone, it will be harder to get distracted.
I dont know what is an AI devoper, but I moved to Dublin in 2013 to find a job outside that country, I'm pretty sure there are plenty of AI positions open there.
Have you tried GO and RUST?
I see a trend when choosing language names: if it is easy to find, it's not a good name.
@electrineer it doesn't make sense what you just said, you counted thr total amount of apples in the system and not the amount of apples left in your array.
@Lensflare you mean you only count seconds in your life? Countdowns do not count? If you go to your cellar to find how many bottles of wine you have left and you find 0, how many bottles did you count? Implicit doesn't mean not existent.
@electrineer LOL That sounds like a perfect solution to avoid leaving the pdf on the client: print it on an entire printer-botnet :D
@electrineer what does it mean?
@sariel "what do you mean we cannot send data directly to their printer? If they download a pdf, they will have the pdf on their client!"
My boss. Well, not anymore.
The solution is to use Windows.
I know, I know, it's hard, but that's how it works.
You turn it on, you give it commands, and PUFF, it works.
@lbfalvy ok, nevermind, Germany is switching again to libre office it seems, while in Italy they started to go back to MS but it is unclear what's the current direction.
@lbfalvy to be fair, multiple states started a full conversion to alternatives.
And then they went back to ms because the alternatives on the market were actually worse.
What does ugh mean? I switched to vscode when they released for everything that's not .net and I have no regrets.
What's wrong with it?
@vintprox does it? It's basically written in their official documentation.
Count doesn't start at 1. if you have 3 apples and you give 3 apples to me, how many apples do you have? :|