Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It's not necessarily a bad thing that DOM-manipulation functions are a bit annoying to type. Verbose names means that you are more likely to do:

    var elem = document.getElementsByClassName('foo')[0];
    elem.fooBar();
    elem.foo = 'bar';
rather than

    $('.foo').fooBar();
    $('.foo').foo = 'bar';
even if you don't know anything about writing optimized JavaScript code.


But sadly, beginners these days learn "jQuery" before they learn JavaScript.




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: