Hacker News new | past | comments | ask | show | jobs | submit login

Almost no-one really needs to write code like your “bad” example today, and even if they do, it’s the sort of thing you only do once and wrap up in your own library so you can reuse exactly the ideas you need and optimise it using the same tools as any other JS you write.

If you're going to do that, it'd be good to open source it so other people can take advantage of it. Maybe abstract out some other cross browser stuff as well. Also, it would cool if it made the DOM api nicer to work with.




If only such a library existed...




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

Search: