This does not conflict with Andrew Kelly's point! The software is not your js code!! Your js code is s tiny fraction of the software. The rest of it (including node) has serious design issues. JavaScript is an messy interpreted dynamically-typed language with a week type system that was designed for browser 30 years ago and even its creator discourages you from using it now.
If you were to define a/0 the most logical choice would be a new special value "Infinity". The second best choice would be the maximum supported value of the type of a (int, int64 etc). Anything else would be stupid.
That's nonsense. a/b is float in Python 3, and even in other languages a/b gets closer to it's actual value as a and b get bigger (the "limit", which is the basis of Algebra). So four operations in programming generally do agree with foundations of Algebra. But a/0=0 is %100 against Algebra. And it's very unintuitive. It's basically saying zero is the same as infinity, and therefore all numbers are the same, so why bother having any numbers at all?
Checking the resistance of some cheap Chinese clip leads I bought. The way these are crimped often doesn't make great contact. But even after soldering them, the resistance was still high. The wires were really thin, but it turns out, the resistance was still high considering that. It turns out, the wires, though they look like copper, are made of iron and coated with copper!
Shows prices of:
- Cryptocurrencies
- Gold and silver
- Fiat currency rates
- Stocks