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

It doesn't matter when the "unsafe" method is already so entrenched and easy to reach for.


Sure it does. A baby developer today has a good chance of discovering setHTML first. The most “with it” keep abreast of great new additions to the DOM API. We just have to educate the mid-levels (and hope the AI that does most of the actual code authoring for the juniors gets the memo quickly).




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

Search: