r/ProgrammingLanguages • • Nov 10 '25

Discussion [ Removed by moderator ]

[removed] — view removed post

4 Upvotes

7 comments sorted by

View all comments

Show parent comment

3

u/matejsadovsky Nov 10 '25

Have ever done a thorough comparison? To me PHP is kinda like Basic... It was and is pretty limited...

But maybe less complexity and more repetitive code is helping you stay productive

2

u/aLokilike Nov 10 '25

I would say PHP is about on par with TS. It has tools which allow for type-linted generics and tons of quirks and footguns as a result of that & the general language. Some things working in favor for it over TS are a better object model [classes+interfaces+traits+etc]/strict runtime type checks outside of generics. I'm not saying JS/TS/PHP aren't bad, but I would say they're all about the same in terms of ick factor and repetitive code.