4 ms·
>Ease of use is sanity in its own right too. I am not sure what that means. By sanity, I mean sane/sensible/unsurprising behaviour. As an example, think of a g
by babyrainbow 10y ago
>Ease of use is sanity in its own right too.
I am not sure what that means. By sanity, I mean sane/sensible/unsurprising behaviour. As an example, think of a gun with a feather touch trigger. It improves "ease of use", because you don't have to "pull" on the trigger and might improve accuracy for people inexperienced with guns, but it trades off safety completely. Php is like that. It was a language meant to process data coming from html forms. A lot of these insane behaviour can be attributed to that.
Because there hasn't been a formal/proper development/review process [1], only god know what hidden pitfalls there are hidden within the language, that is, in addition to the pitfalls people already know..
Php 7 is a dangerous farce, because it still has got all these problems, but is marketed/promoted as a "modern" language. Luckily, it seems that very few people are buying it..
[1] https://www.reddit.com/r/lolphp/comments/5fhmbg/if_an_invalid_domain_or_type_is_given_php_does/dalxegd/ https://www.reddit.com/r/lolphp/comments/5fhmbg/if_an_invali...
- coldtea 10y ago>I am not sure what that means. It means that being easy to use is a desirable trait if you want a sane development experience. Having to go through bs hoops to use some language/tool/etc can drive you insane. >By sanity, I mean sane/sensible/unsurprising behaviour. And you'll find more or less the same amount of insanity in C or Javascript, as you will in PHP. And in PHP it's mostly moot, because the insanity is in corner cases and stuff that's trivial to avoid.