7 ms·
I haven't written PHP in years but I get the feeling from this release that they are taking inspiration from TypeScript and JavaScript.
by tarokun-io 5y ago
I haven't written PHP in years but I get the feeling from this release that they are taking inspiration from TypeScript and JavaScript.
- dubcanada 5y agoThat's a funny thing to say, considering those took inspiration from other languages.
- agumonkey 5y agothey all lifted stuff from ml/scheme in the 80s
- jonwinstanley 5y agoDefinitely some JS influence plus a little Swift and Java. PHP seems to be evolving faster than it has in years
- pirate787 5y agoIt's actually becoming a problem keeping pace with PHP major updates
- mschuster91 5y agoPHP isn't Linux with its strict "never break userspace" dogma - but for real, a PHP version upgrade should not be that bad to follow.
- nicoburns 5y agoI think 8.0 had a bunch of relatively major/annoying breaking changes, but that's the first time since the 5.x era.
- blowski 5y agoThey did give deprecation warnings in various version 7 releases, so they didn't come out of nowhere. (Not that you said they did, but for the purpose of other readers.)
- wvenable 5y agoThey take inspiration from everything! I think that's one of the most interesting aspects of PHP design since version 5.0 is that they sort of unpretentiously take the good concept and syntax ideas from any language that has them.
- wwweston 5y agoProbably FB’s Hack and similar efforts were influences first, since they predate the rise of TS. On the other hand, though, PHP’s always tended to be a borrowing language that accumulates features from elsewhere, so there probably is some TS influence.