top | item 47137725

(no title)

orf | 7 days ago

because the "unsafe" suffix conveys information to the reader, whereas `innherHTML` does not?

discuss

order

goatlover|7 days ago

Any potential reader should be familiar with innerHTML.

kennywinker|7 days ago

Right. Like how any potential reader is familiar with the risks of sql injection which is why nothing has ever been hacked that way.

Or how any potential driver is familiar with seat belts which is why everybody wears them and nobody’s been thrown from a car since they were invented.

orf|7 days ago

yes, and bugs shouldn't exist because everyone should be familiar with everything.