3 ms·
Turing completeness is not a point; it's as irrelevant as if you'd said that it's composed of 1s and 0s. > Don't mix JavaScript frameworks . That's my whole p
by WilliamLP 17y ago
Turing completeness is not a point; it's as irrelevant as if you'd said that it's composed of 1s and 0s.
> Don't mix JavaScript frameworks .
That's my whole point. JQuery should just be for DOM manipulation (not a full fledged application framework) but the core Javascript library is so terrible it needs to include things like each, grep, map, and an implementation of string trim for Pete's sake!
PHP is a terrible language for encapsulation, but at least I have chance if I want to include more than one PEAR library. Encapsulation is possible - for instance I can bootstrap a Zend Framework application inside something else and I know it will work because it uses no global variables and it's simply not possible to extend the core language.
So what if I use Dojo and do really like a component in JQuery UI? If you don't think that's a severe and damning limitation then that's a failure of imagination.