3 ms·
Not to be the hater in this thread, but I bet this was made by a bitter JS developer who saw how jQuery undid most the evils of Javascript and felt that the "da
by trezor 17y ago
Not to be the hater in this thread, but I bet this was made by a bitter JS developer who saw how jQuery undid most the evils of Javascript and felt that the "damage" had to be rectified.
To add something constructive to the debate, I'll just toss in that this goes right in the face of good API design, not as a cheap pun because it's PHP, but because it's a PHP API transliterated into a language not PHP.
- wvenable 17y agoSay what you will about the big ball of mud that is the PHP function library, it is still useful. Sometimes just being able to call a simple function is refreshingly straight forward. "Good" API design these days seems to mean including the entire alphabet of OO design patterns. I'm particularly interested in the PHP date() function myself, since the date handling in Javascript is seriously insufficient.