Code Smell 71 - Magic Floats Disguised as Decimals
TL;DR: Don't trust numbers on immature languages like JavaScript.
Problems
Principle of Least Surprise Violation
Accidental Complexity
Wrong decimal representations.
Solutions
Choose Mature Languages.
Represent Decimals with Decimals.
Sampl...
maximilianocontieri.com2 min read
Pankaj Tanwar
I write about System Design & Web Tech. Curious about how things work!
Thanks for the mention Maxi Contieri. This series is so sick, in-depth and underrated. Keep up the good work. You earned a follower and a fan !!!