Live data from Hacker News

What's New in PHP 8.1

stitcher.io

11–20 of 112 posts

Re: What's New in PHP 8.1

#11
I do not think PHP is a good language to use in a project.

- dev recruitment is hard.

- dev retention is hard.

- hard to find people that write clean, modern, performant PHP

- it is PHP, with everything that it entails. It does not enjoy the best reputation as a language.

Re: What's New in PHP 8.1

#12

I do not think PHP is a good language to use in a project. - dev recruitment is hard. - dev retention is hard. - hard to find people that write clean, modern, performant PHP - it is PHP, with everything that it entails. It does not enjoy the best reputation as a language.

None of your list says anything about the language. It says more about the companies hiring.

What does PHP entail??

Re: What's New in PHP 8.1

#13

I do not think PHP is a good language to use in a project. - dev recruitment is hard. - dev retention is hard. - hard to find people that write clean, modern, performant PHP - it is PHP, with everything that it entails. It does not enjoy the best reputation as a language.

None of your list says anything about the language. It says more about the companies hiring. What does PHP entail??

Erlang, Haskell and OCaml are excelent languages. But good luck assembling a team that can use those languages. e.g.: 30 developers in 1 year.

And those languages are pretty popular compared to others.

The programming language you use is a important factor when it comes to scaling your team (and your product, and your business).

I do not want to start a bikeshedding holy war. The reference implementation of PHP is pretty inferior to that of other scripting languages such as Ruby, Python, Julia and Node. There are other implementations that are better but come at a compatibility cost.

Re: What's New in PHP 8.1

#14
I am not a developer, but I use PHP a lot for scripting and personal automation including small web apps with SQL backend. I found PHP 7 to be a great improvement over 5.x, but with 8 I skipped every single new thing they brought. I can use PHP 8.1 in PHP 7.4 compatibility mode, but I find the features in 8.1 making the language less readable and less logic; for example, 3 dots become part of the language syntax? What is next, emojis as operators? Secret gang hand shakes as functions?

Re: What's New in PHP 8.1

#15

I do not think PHP is a good language to use in a project. - dev recruitment is hard. - dev retention is hard. - hard to find people that write clean, modern, performant PHP - it is PHP, with everything that it entails. It does not enjoy the best reputation as a language.

Dev recruitment is hard to find php developers? wtf are you smoking? I think a lot of this is highly dependent on where you are. My guess is you mostly deal with non php languages?

Re: What's New in PHP 8.1

#16

I am not a developer, but I use PHP a lot for scripting and personal automation including small web apps with SQL backend. I found PHP 7 to be a great improvement over 5.x, but with 8 I skipped every single new thing they brought. I can use PHP 8.1 in PHP 7.4 compatibility mode, but I find the features in 8.1 making the language less readable and less logic; for example, 3 dots become part of the language syntax? Wha…

Fun fact: failure to implement unicode is the reason we never got a PHP6. So we're safe from emojis for at least a while.

Re: What's New in PHP 8.1

#17

Earlier quoted context omitted.

None of your list says anything about the language. It says more about the companies hiring. What does PHP entail??

Erlang, Haskell and OCaml are excelent languages. But good luck assembling a team that can use those languages. e.g.: 30 developers in 1 year. And those languages are pretty popular compared to others. The programming language you use is a important factor when it comes to scaling your team (and your product, and your business). I do not want to start a bikeshedding holy war. The reference implementation of PHP is pr…

I don't agree with this. I'm not going to get into a holy war, but I soundly disagree that it's inferior. Any C/C++/Java programmer can become productive with php very rapidly. The callstacks are familiar to programmers, the language continues to get faster & faster as older legacy structures are replaced with smarter data-structures allowing for JIT optimizations.

Re: What's New in PHP 8.1

#18

I do not think PHP is a good language to use in a project. - dev recruitment is hard. - dev retention is hard. - hard to find people that write clean, modern, performant PHP - it is PHP, with everything that it entails. It does not enjoy the best reputation as a language.

Do you have evidences to back up these claims?

Many PHP projects are successful. WordPress, Nextcloud, Wikipedia, Facebook...

Something about it must be right.

Re: What's New in PHP 8.1

#19
I recently killed all my PHP code in favor of Go.

What finally convinced me is the Go package system. I like that Go has a builtin package manager, while I dont think PHP does. I know about Composer, I just wonder. After all these years, why hasnt PHP incorporated a builtin package manager?

Re: What's New in PHP 8.1

#20
post #19

I recently killed all my PHP code in favor of Go. What finally convinced me is the Go package system. I like that Go has a builtin package manager, while I dont think PHP does. I know about Composer, I just wonder. After all these years, why hasnt PHP incorporated a builtin package manager?

Your question is weird, like a solution in search of a problem.

So let me ask, what problem does composer have that you hope to see a builtin package manager solve (at the cost of losing its own dedicated team) ?

Post reply on HN