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
-
EDIT:
- My boss telling me I need to use the same .php file for two pages, and trigger the modification between the two using a GET variable... Yes of course why not, since we aren't using and API because they are "unrelyable" -
Oooh, I haven't seen such a relic for a long long time.
How are the nineties going? -
@hack You'd need log in credentials, and it's a wonderful *sarcasm* default vps ip, no domain here. It's probably too advance/complicated for my boss
-
nam178875795yHe is doing is right.
Thats what PHP designed to be.
If you want proper programming then use C# Java C++ Go, etc. -
@brunofontes The best part is where the guy included two files called functions and functions1 and do not forget the magnificant database connection repeated on EVERY files plus the fact that he redefined a class for the mysqli, which means that not all mysqli functions are available, only the one that were created in that class. It's just so dumb. I would also like to point out the fact that the variable named $queryInsert doesn't insert, it updates.
-
@nam17887 Even though I hate PHP, I can say that there are way better ways do to this but I get your point. PHP is an error in the universe and should be banned from ever ever being used again anyway.
Related Rants
-
cdrice105"You gave us bad code! We ran it and now production is DOWN! Join this bridgeline now and help us fix this!" ...
-
johnny241when your code is a mess but everything work out in the end
-
MoboTheHobo35My Friend: Dude our Linux Server is not working anymore! Me: What? What did you do? My friend: Nothing I swe...
Things I hate the most at the moment:
- PHP
- jQuery
- The person that coded this before me
- The fact that this person is swtiching from jQuery and native javascript over and over for no f*cking reason. Just why?
- My job
- My boss
- The big pile of sh*it that this code is (overall not just the screenshot), no separation of concern, logic code in the middle of the file, no proper slacing and indentation
- devRant no allowing me to put multiple images in one post, because the picture is just one of this whole mess, it's not even the worst part, you'd have nightmare if I showed it to you
- The mental breakdown I'm having
rant
crappy code
who codes like that
fml