8

Why some of you guys hate PHP? Sad. Please enlighten me. Haha

Comments
  • 2
    Because it's cool
  • 1
    I dont hate it nor love it. But i would prefer any other language.
  • 1
    @ScribeOfGoD i think it's cool too hehe
  • 0
    @FrodoSwaggins i think you love it too haha
  • 0
    @jakobev hmm which language do you prefer?
  • 1
    @fullsnack-dev are we talking about "web languages"?
  • 1
  • 0
    @fullsnack-dev then i dont know😂 have just js basics and learning php recently.
  • 3
    They hate PHP because they’re crappy programmers. Everyone shuld use language of his own choice, and not because it’s „trendy”. And most of people mistakenly thinks, that PHP is a web language only.
  • 3
    @PHP
    Pros:
    - it’s simple to learn
    - it’s simple to deploy
    - it’s simple to maintain
    - you can be up and running with a script quicker then you can load VIsual Studio.

    Cons:
    - it was never designed to be a full blown language, but then neither was JS and here we are many years later.

    - it doesn’t enforce anything out of the box (design pricinples, methodologies, MVC/OOP, functional)
    - it doesn’t have strict types (this is handy though)

    - global constants don’t need to exist to be callable in some situations (case sensitive and fall back to strings)
    Eg :

    Define(“HELP”, ”help”);
    if( HELp == “help” ){
    //this works
    }

    - it won’t hold you’re hand and tell you how to fix it

    - although being simple to learn, knowing all the cliff hangers and knowing how to avoid them is no easy task

    - new devs pick it up and make an exceptional mess of things
    - this leads to the misunderstanding of it being a horrible language.
Add Comment