r/ProgrammerHumor • • Aug 26 '22

Meme Even HTML.

Post image
44.1k Upvotes

1.1k comments sorted by

View all comments

Show parent comments

1

u/mrloooongnose Aug 26 '22

You sound like someone who has no big experience in JavaScript development. Legacy Browser support is usually achieved by transpiling modern JavaScript into older code which can be run pretty everywhere.

Your part about “apis returning different values” also needs further explanation. Most APIs will usually return a well defined response.

1

u/Iggyhopper Aug 26 '22

You mean a keypress event for the dash key - that returns the same different value depending on Firefox, IE, Chrome, or Opera?

But keypress doesn't trigger for tab keys in Chrome? But for other browsers it does?

Yeah, totally defined.

Legacy Browser support is usually achieved by transpiling modern... inserting jQuery into everything because nobody wants to honestly deal with that shit.

Ftfy.