My problem with JavaScript libraries
I have a problem with JavaScript libraries. My problem is this: I feel that, in a way, they begin to replace actual JavaScript for new web developers. Let’s say I teach a person to use jQuery. I teach him to use the various functions, and how to use plugins. Then, I see him working on a project one day and see this code:
<script type="text/javascript">
$(function() {
$("#hide").hide();
$("#show").show();
}
</script>
That’s right, he’s importing 20kb of pure JavaScript awesomeness for… two lines of code that could have just as easily been done using raw JavaScript:...
continue reading...