greatdipper
What? Where did I say so?
I said "people does not hand wave SQL injection vulnerabilities by saying they haven't encountered it in their 10 years of experience with MySQL".
That does not mean all sql injection vulnerabilities are limited to MySQL!
Is this one of those of tactics that are frequently employed by php apologists to derail arguments against the language?
For example. Take the case of MySQL injection. People does not hand wave SQL injection vulnerabilities by saying. "Na, It haven't happened to me ever, even after 10 years of making websites using mysql". Just like that.
Use of PHP IS a bad practice today.
Did you see the thread I just linked?
https://www.reddit.com/r/PHP/comments/41bm7j/new_rfc_allow_s...
I don't see something like this happening this in any main stream language.
That example illustrates one thing very clearly. How you believe you KNOW the language, and how it pulls the rug from under your feet in the most unexpected way.
You can wait for it to happen to you. Or you can learn from the experience of others.
Your pick.
Because they are easy to implement (function type hints, typed properties) and the php community have a collective, insatiable, perpetual hardon for features that are supposed to enhance correctness..
So the core devs are eager to propose these kinds of features. And the community is eager to accepts them without much thought..
To see how child like this mentality towards these type of features, see this comment, where a Php expert makes a big deal regarding when a user omitted mentioning the type of a value....
https://www.reddit.com/r/PHP/comments/4k2htl/ive_just_given_...
But they took away something that had brought about innovation in the past and had a very good chance of brining it in the future....idle human thought.
This seems to be a fallacy. Give internet to 10 random people and 9 of them will use it for Porn and Social media. You know, instant gratification stuff.
The one guy who uses it to "expand their horizons" will find himself too alone and powerless in a culture that has gone south by the the aforementioned 9 people who wouldn't take their heads up from the social media in their mobile phones....