12

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

Comments
  • 3
    Use imgur to upload pics and link it here.
  • 4
    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"
  • 1
    @TheDane My boss is watching me, so I had to do a quick screenshot
  • 3
    What is the domain name? Asking for a friend.
  • 2
    Oooh, I haven't seen such a relic for a long long time.
    How are the nineties going?
  • 1
    @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
  • 2
    @Commodore Haha, pretty bad I'd say. I'm starting to loose my mind
  • 2
    @Willbill360 yeah, time travel will do that 😋
  • 2
    Sniff that months ago ... Im not there anymore XD
  • 1
    What the actual fuck is that code???
  • 1
    He is doing is right.

    Thats what PHP designed to be.

    If you want proper programming then use C# Java C++ Go, etc.
  • 1
    @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.
  • 1
    @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.
  • 1
    @Willbill360 Hehe I know, I was just joking
Add Comment