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
-
There's a *lot* of legacy PHP stuff out there, so it's very easy to get stung by this unless you ask specifically. Also beware of people still using modern versions of PHP as though it was still 5.
-
nitnip18133y@AlmondSauce That's a bit less likely to happen since everyone uses a framework nowadays and php frameworks tend to really enforce their styles. (Fuck you cakephp, I'm not using array() instead of [] )
-
@nitnip you wish everyone used a framework. There are tons of systems out there where the php version has been updated, yes, but for most parts the codebase isn’t.
I have to constantly remind some devs during code reviews that ”we’re not using php5 anymore…there are better ways to do things” -
C0D4669023yphp --version
5.4.16
I'll just causally walk away now.
Also, a lot of legacy systems don't run frameworks... and are custom from the ground up... it's not always a bad thing, but there's projects out there that holy fuck balls should never have been launched. -
at least you get paid more, right ? right !?
jokes aside, play some 90s music to match your code.
happy coding -
nitnip18133y@danielstaleiny There's nothing happy about having to do a reactive (state-managing) front-end using JQuery with CakePHP2 on the back end.
This dumpheap of a framework randomly returns 302 redirects to 'auth' to all fetch requests. -
also, if interviewing for a php position, i'll give you advice on the best answer to "how well do you know php?" question.
"it is my opinion that the better you know php, the more you hate it.
and i hate php very, VERY much."
works every time. -
@Midnight-shcode wrong answer, I think. As someone who knows PHP like the back of my hand, I wouldn’t hire anyone who produced such an answer
-
@100110111
recommending it as the best answer was a joke, but the fact that i actually use it is true, as well as the fact that all three times it resulted in a chuckle and being hired.
which is also kind of a joke, when you think about it, but of a different type.
Related Rants
If you're a php dev don't make the same mistake I did. There's one question you must ask at every interview.
"Which PHP version does your company uses for its projects?"
If you don't ask that you'll end up in PHP5 hell with me.
rant
php