Live data from Hacker News

PHP 8: Before and After

stitcher.io

341–346 of 346 posts

Re: PHP 8: Before and After

#341

I'm just going to come out and say it, and say it proudly ! 1) I love coding in PHP (I am a cs major) 2) I love riding scooters. There - internet be damned !

Not a CS major, but PHP has been my preferred language for web stuff the last 20 years. Even way back it was just so damn easy to work with. Sure, I'll look to Go, Ruby, Crystal, Elixir and others for more specialized stuff, but plain and simple CRUD web stuff is what PHP is made for.

Couldn't agree more ! Ja Go is fun for "heavy lifting" but CRUD or "throwing something on the internet"... Give me my PHP :)

Re: PHP 8: Before and After

#342

I don't really understand why in 2020 there's still this kind of blind hatred against this language. It often comes from horrible bad memories from previous versions or old frameworks. Objectively, compared to other languages i've been working with it is more than OK. Despite it's lack of "style" it is easy to understand, host, tests, diagnose and it is powerfull for web applications. I've been working on a SaaS API…

[deleted]

Re: PHP 8: Before and After

#343
post #309
post #208

Earlier quoted context omitted.

That's a whole bunch of items in one place. I don't disagree, to get better cooperation and efficiency in a group, languages and tooling have to adapt. That's part of my point, if what you're doing is the same, the languages will look the same. But I quite disagree with the "it made our lives better" point, and would say that the efficiency, even with all the standardized language outlook, tooling and methodology is…

We wouldn't have mass produced washing machines without... Mass production :-) The part about our life being better is non negotiable, you haven't had to hand wash clothes if you're saying otherwise. And that's just one example, refrigeration, mass mobility... Life is incomparably better and saying otherwise is just ignoring reality, in my book ;-)

This is a bit too late, but for future reader's reference: I meant "mass produced software", regarding its benefits. I highly doubt that Facebook's ad network is comparable with mass produced pharmaceuticals or refridgeration. Mass produced mustard gas maybe.

Re: PHP 8: Before and After

#344

I don't really understand why in 2020 there's still this kind of blind hatred against this language. It often comes from horrible bad memories from previous versions or old frameworks. Objectively, compared to other languages i've been working with it is more than OK. Despite it's lack of "style" it is easy to understand, host, tests, diagnose and it is powerfull for web applications. I've been working on a SaaS API…

You can find bad code in any popular language. Therefore, any popular language will get bad rap. Java, C++, PHP...

Bad developers will write bad code in any language, and they will blame the language for it.

Scala is one of my favorites and yet I saw some really horrible projects. They made such a mess since lots of Java developers rushed into it.

People blame Go for lack of a some features like generics just because they are unable to write clean code.

Re: PHP 8: Before and After

#345

Earlier quoted context omitted.

>I won't even entertain this bigotry. I'm not sure using a word that has historically been used for people who are racist is the right word when talking about programming languages.

You might want to look up the definition of "bigotry" then...

The dictionary definition does not change cultural context.

Re: PHP 8: Before and After

#346

Earlier quoted context omitted.

It is too loose typed and it's implementation of interfaces is too relaxed to use complex software engineering patterns and methodologies like DDD and SOLID.

> it's implementation of interfaces is too relaxed as someone only casually used to python im curious how so?

It only has duck-typed interfaces, unable to verify methods' signatures. Trying to implement strong inheritance leads to monstrosities __instancecheck__ and __subclasscheck__ and manual type checking of injected dependencies.
Post reply on HN