Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
I've been using PHP so long I have PHP stockholm syndrome.
I'll explain.
So like in this other thread some guy posted about PHP Safe.
https://github.com/thecodingmachine...
What this is, is a fix for the fact that many of PHP's core functions don't return an exception, they just return false.
My first thought was that "Wow, that's a really good idea"...
But then I started to think about how many functions I wrote that took advantage of the fact PHP functions return either a value or false and then lazily wrote.
if($return) {
// Do something with the return value of the function.
} else {
// Throw custom error.
}
So like, at this point to adapt to PHP Safe, I'd have to stop being a lazy piece of shit and actually properly handle errors.
And... I don't wanna. It's lazy, probably won't pass unit testing... but the shit works. -
@HiFiWiFiSciFi Same, actually when the head of my department recently spoke to me about the current state of our main tech stack (mostly php based) and then asked when did I learn about php to get to this point I legitimately said I don't remember when or how, I just know that it was php 4, that it sucked but was a better alternative to what I had seen before (in my region it was jsp java or classic asp) and I just took it and ran
-
C0D4668814yHmm, I've worked and played with many languages over the years and they are all shit one way or another.
I tend to see people who only use 1 or two languages exclusively judge every other language on its faults and memes but have no real world experience in it.
The only thing I can't stand is the node/npm chaotic mess, yet a lot of people swear by it - I'm not a fan of downtime due to some ass clowns code from another country which suddenly isn't working or whom doesn't understand versioning and 1.0.01 and 1.0.02 are not major breaking versions - but what ever.
I've been doing this for so long now I don't really care what language I'm using anymore, need X in Y by Monday, sure, let me go pull up the docs and sort it out. -
C0D4668814y@AleCx04 asp vs php, that brings back memories of a time and life long ago, somehow I couldn't wrap my head around .asp but php and I just clicked 🥳
-
I hate python...
But I been using it for 3 years.
Data scientists need to find a better language. -
@rusty-python I am wondering at this time why the push for scala has not been made entirely. For that though all I need is to walk to the analyst department at work, for which I worked also, and talk to their "analysts" and then I remember why: these fuckers are lazy.
And no, I don't think that is the case for all of them, but people will continue to take the path of least resistance, Python is simple, Scala is not (that simple) and well....you know... -
@C0D4 ASP is so weird. I come from the Patrick Louys school of clean code php, I don't adhere to all of his methodologies, but I do like to put together my own solutions and pick and choose my libs through comppser and write proper oop code in php, procedural when I need to. But...BUT ASP does not work well with those ideas, the language is so quirky, the error messages soooo shitty, the error handlind so non existent, I just can't see how people would use it on large projects without generating the mess I used to work with. People talk about spaghetti PHP code.....boooooe they ain't never seen ASP. People talk about JS being bad for server side? man, ASP has got that shit beaten in spades 🥴
Related Rants
People say that they hate all the languages other than what they code in:
It's opposite to me, I literally hate the language I code in,
Yes, I code in PHP.
joke/meme
joke