Re:PHP in 2021
by deergomoo on Friday April 16, 2021 @07:17AM
(#26832463)
> But it simply isn't as flexible as JavaScript
I guess it depends how you define "flexible". The language itself is clunkier, particularly anything involving closures (although that's getting better), but it does so, so much stuff out of the box (even if the APIs are often a bit footgun-y).
I guess it depends how you define "flexible". The language itself is clunkier, particularly anything involving closures (although that's getting better), but it does so, so much stuff out of the box (even if the APIs are often a bit footgun-y).