Hacker News new | ask | show | jobs
by pwdisswordfishy 241 days ago
It doesn't matter when the "unsafe" method is already so entrenched and easy to reach for.
1 comments

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).