4 ms·
Having something work most of the time but break without warning - at least by writing to a log that an overflow has happened - goes against a lot of SWE best p
by ogogmad 4y ago
Having something work most of the time but break without warning - at least by writing to a log that an overflow has happened - goes against a lot of SWE best practices AFAICT. Imagine debugging that without knowing it can happen.
Does JS at least write ".0" at the end when converting a number to a string? Or switch to scientific notation for large numbers?