47

Hot take: PHP is pretty good nowadays.

I'm a Laravel dev right now and things just get done so quickly. Every language has its problems but the meme of PHP hate seems to be made more out of ignorance these days. You could find just as many problems with any other language.

For those that say I'm biased because I work through the framework more than the language, I'd ask don't you do the same? ASP.NET, Java EE, the millions of JS frameworks, all these also make your life easier within their languages.

In the end, work with what makes you happy and productive and be done with it.

Comments
  • 9
    Im a java fanboy and i think 90% of java is garbage, your turn atheist.
  • 1
    The thing i like about php, atleast the latest versions. I never tried pre 5.6, but the thing i like about it is the uniqueness, comparing it to other languages does not do it justice cause its not like other languages and not meant to be like other languages, its different
  • 1
    The thing is though I don't quite understand the future of PHP at the moment. It's great for beginners to start with and keep learning but the language has short of fallen short recently.
    Facebook released HVMPHP or whatever it was which prompted for php70
    I've seen recently 3rd parties building other features such as Pthreads for multi threading and rxPHP. 2 features node already has ;) so I'm a little unsure what the next releases will bring and what's going to happen to the famous frameworks that are built on PHP with these new features :p
    Its a complete restart!!
    I'm optimistic though but I think there'll be at least a few years wait probably?
  • 4
    The biggest root for the hate is the extraordinary amount of incompetent devs. I am in an JS and in an PHP group in telegram.

    In the JS group they compared frameworks, and talked about a way to optimize someones approach where he relies a bit too much on callbacks and try to use promises more this morning alone.

    In the PHP group someone asked if she should start with Ubuntu or Linux to learn "Webservice" (read: webserver) and the guy who regularly needs help for his entry level school assignment offered himself as a freelance dev...

    The barrier of entry is low. That's great and also sucks a lot.

    What I personally love about PHP is that it doesn't care how you use it. Like cpp, that means freedom. But the amount of bad, ignorant advise I see is amazing. Someone suggested to partially disable error handling when dealing with post data because code won't work when a value isnt set.

    Hint: use isset() or array key exists

    I rather hang with JS guys, use it for FE anyways.
  • 1
    @zickig

    There are major differences. For once its loosely typed
  • 2
    Laravel is Great. Love it. I wish my agency would use it as a base for every project.

    Yet I’m stuck with typo3.

    PHP has some very deeply rooted issues and it is just too easy to make idiotically stupid mistakes with it in a production end because „it works lol“.
    I still use it every day because it pays my bills and I like the modern frameworks.
  • 0
    @zickig @AlexDeLarge I agree with what you both are saying. Everything has problems. I'm talking at a high level about getting things done. As others have commented in this thread, PHP's strength is that it enables that. But on the flip side, that's also a weakness due to the pile of low quality work being pushed out. Yes it might be verbose and inconsistent, but again you can say that about a lot of things in this industry.

    On a technical level I'll take your word for it on needing to dive deeper in the inner workings. I'm just saying if it helps you get to where you want to be, use it. Same as any other language or framework. Some devs aren't interested in knowing the nitty gritty; they just want to pay their bills.

    Frameworks might not make the language better but they do make the work better. That's why they are made and used after all.
  • 0
    @bashleigh I'm also interested to see where it is headed in the future. I don't know for how long I'll be using it but it seems to be the right tool for me at this time and I can get things done reasonably well (obviously also in large part with the help of Laravel).
  • 1
    @TheCapeGreek laravel is a great framework I'm just worried it'll take a wrong turn somewhere! I'd still use it. Just worried about it
  • 1
    📌
  • 2
    I've yet to find any language with as many issues as PHP. From the inconsistencies to the pitfalls to the unexpected quirks, PHP is rife with them.

    I much prefer tools that don't continually eat my time.
  • 3
    @sharktits but atleast java knows how to collect its garbage. 😂
  • 1
    @fml89 DUUDE ! :D I used to work with legacy typo3 apps (4.x and sometimes below) we used to update them to 7.6 and 8.x, that was a nightmare...
  • 0
    Sure, if it makes you sleep at night.
  • 0
    Php works. But laravel is just bargain
  • 0
    Using laravel is practically like coding in English. I love it.
Add Comment