369
POV: You maintain a JS library that 80% of modern web infrastructure uses as a dependency.
(lemmy.blahaj.zone)
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Pretty sure that math.random is decades old.
Pretty sure OP’s image is hyperbole.
Right. I'd agree this is a thing that happens, I just thought you were addressing this one in particular
Pretty sure many codebases running today (even JS ones) are older
Math.random() was always in the spec: https://ecma-international.org/wp-content/uploads/ECMA-262_1st_edition_june_1997.pdf
Remember IE? Yeah. Probably responsible for a lot of now-superfluous things like this theory suggests.
Gotta admit, didn't think it was that old
And? I don't know how to check but I'd guess math.random was included from the beginning.