News for hackers. Stuff that matters.
Re:PHP 8: Before and After by ai_ja_nai on Friday October 23, 2020 @06:21AM (#24867880)
I don't understand as of 2020 the use case for PHP. It's verbose as Java without its speed. Seriously, can anybody help here?

It made sense to use PHP EXACLTLY in the good bad old days because it was just leaner to bang out applications in PHP than with other languages.

Nowadays, I feel that PHP cake has been largely eaten by Python and Ruby.

Why using PHP with such a level of verbosity?

Re:PHP 8: Before and After by mknx on Friday October 23, 2020 @06:30AM (#24867951)
I converted about two dozens Ruby and Python apps to PHP in the last 7-8 years.
Re:PHP 8: Before and After by ai_ja_nai on Friday October 23, 2020 @06:41AM (#24868028)
I don't know what to say in response.

Conciseness is a valuable property which, for web development, PHP seems to have given up.

Re:PHP 8: Before and After by psychoslave on Friday October 23, 2020 @07:11AM (#24868211)
This single sentence horrified me more than the whole terrorist attacks over the last 26 years (before that, there was no PHP).
Re:PHP 8: Before and After by ai_ja_nai on Friday October 23, 2020 @11:07AM (#24870248)
Come on guys, let's keep the discussion polite and constructive :)
Re:PHP 8: Before and After by francislavoie on Friday October 23, 2020 @08:58PM (#24876002)
PHP is faster than both Python and Ruby. That's one reason. And its request-response, shared-nothing model makes it incredibly scalable. Huge community, one of the best package managers in existence, etc.
Re:PHP 8: Before and After by iDemonix on Friday October 23, 2020 @06:24AM (#24867907)
See the comment by TheHemric, it's a bit more informed than you seem to be.
Re:PHP 8: Before and After by ai_ja_nai on Friday October 23, 2020 @06:38AM (#24868009)
Uhm

>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 with Symfony now for 2 years, our metrics are good... >It is a good tool, it builds good softwares

Informed? These are opinions, dude. Where are the objective arguments? "It is ok, works for me" is not "being informed"