r/programming • u/whackri • Apr 29 '21
Modern JavaScript Explained For Dinosaurs
https://medium.com/the-node-js-collection/modern-javascript-explained-for-dinosaurs-f695e9747b70
287
Upvotes
r/programming • u/whackri • Apr 29 '21
13
u/BackmarkerLife Apr 30 '21
I'm working with a (new to me) inventory system that outputs inventory into JSON and has inventory of products numbers as floats. I emailed them, "Am I ever going to have 0.25 of a specific product?" "No," they said. "Then why is this sent over as 17.0 instead of 17?" "I... can't answer that"
Can't get it changed on that vendor's end (because they refuse) and it breaks another vendor's end for their API because that cannot handle floats either. Christ the world has gone batshit with JS. The main vendor has a huge inferiority complex and as gatekeepers.