7 ms·
Probably one of the biggest releases since 5 in my opinion. Scalar and return type declarations being added in are a couple of massive additions. For a language
by DigitalSea 11y ago
Probably one of the biggest releases since 5 in my opinion. Scalar and return type declarations being added in are a couple of massive additions. For a language that used to cop a lot of flak, PHP sure has grown to become a mature and quite decent language.
- maweki 11y agoby copying all the python features :D
- miseg 11y agoBy learning from Python's best practices :)
- humbertomn 11y agoI would rather see both teams working together for one single language :) I wrote a little about it here http://goo.gl/XFR2Xt http://goo.gl/XFR2Xt
- jacquesm 11y agoThat will never happen.
- humbertomn 11y agoI know, but... "I just think those pointless discussions of languageA vs LanguageB are infinite loops and languageA + LanguageB would make both sides evolve faster and the whole community would gain in the end."
- Moru 11y agoOnce upon a time it was Atari/Amiga and before that it was a bunch of other smaller computers... Now it's languages and the arguments sounds just the same.
- est 11y agoAnd smoke Python in performance.
- ircmaxell 11y agoExcept that in PHP type declaration mismatches are actually errors... They aren't just "documentation" to be used by static analyzers.
- sneak 11y agoNo, PHP isn't "quite decent". It's still a steaming turd, it's just been polished with a whole bunch of features.
- toddan 11y agoPlease explain why.
- rplnt 11y agoHave you ever worked with php? I have only slightly and it was truly horrible. The library is a complete rubbish. You couldn't create worse one if you tried. The language development is bad. Some developers are bad. Many users are bad. Does these points make the language bad? Yes. New features are incoherent and seemingly random, issues pop in and out (and back in) because tests simply fail, there are unexplainable security issues, documentation is bad, and if you look for any help (documentation comments, stackoverflow) you meet the users and their shitty tips. Response to every criticism is "you just need to learn something". Does that make a good language? No. It's precisely what makes it bad. PS: There's a nice subreddit for fun and laughs /r/lolphp - there are continuously new things as the language evolves, so the shittiness is not going away
- marklgr 11y agoPHP is the language many people love to hate; I guess some of them like the idea of being able to point the black sheep of web development, so that they can tell "maybe we have some flaws, but at least we're not one of these PHP shops". https://en.wikipedia.org/wiki/Splitting_%28psychology%29 https://en.wikipedia.org/wiki/Splitting_%28psychology%29
- rplnt 11y ago> PHP is the language many people love to hate Do you think there's a reason for that? Maybe a direct one? That it's a bad language for example? Why would it need to be anything more complicated than that. So I don't think your guess is accurate. It's simply a bad language on its own. No need to compare it to anything. And I don't think anyone can deny that, no one will honestly say that "php is a good language". You can say it has some good features, or that it's good for certain tasks, or perhaps that it's better.. but that's all.