I am not a big fan of the JavaScript frameworks that exist today. I think that many libraries can be written better, chosen for the project because of favoritism, and not for understanding the requirements of the problem, and some JavaScript developers are too dependent on them to the point that they are jQuery or dojo programmers, not programmers Javascript Alas, this is the opinion of one person, and the fact that JavaScript frameworks are part of life. So, here's a new question on an old question: What JavaScript structure is the least evil? That is , which library most closely matches best practices? Considering jQuery for a moment, it uses browser sniffing and doesn't usenewfor designers. It is very popular, and some of them can evaluate it according to several standards, it ignores what is accepted as the best practice in these cases.
Edit: Please just don't say jQuery or YUI or dojo or anything else. Please tell me which, but also give examples.
source
share