News for hackers. Stuff that matters.
Re:PHP 8: Before and After by agumonkey on Friday October 23, 2020 @04:13AM (#24867108)
It's a different culture. They go around the problems differently. Also the way the write programs seems simpler and leaner (composer in mind)... probably not ultra safe but a good enough ratio I guess.
Re:PHP 8: Before and After by throw_m239339 on Friday October 23, 2020 @04:34AM (#24867210)
> It's a different culture. They go around the problems differently. Also the way the write programs seems simpler and leaner (composer in mind)... probably not ultra safe but a good enough ratio I guess.

No it's not a different culture, they(enterprise Java and enterprise PHP) both try to force some IoC container everywhere, except PHP is an interpreted language, it doesn't need a IoC container with with XML/YAML configuration files cause there is no long and costly compilation step to begin with...

Re:PHP 8: Before and After by agumonkey on Friday October 23, 2020 @08:36AM (#24868782)
That's unrelated, you can tell very rapidly how nicer a tool like composer is from most java things of this era; this is entirely cultural IMO.. you can use xml or yaml in fine or absurd ways.
Re:PHP 8: Before and After by withinboredom on Saturday October 24, 2020 @07:10AM (#24878436)
I’ve seen some self-balancing backed priority queues implementations, using some quirks of PHP, that are faster than the C implemented ones and faster than a “standard” implementation. Wall clock time, it’s still O(log n).