News for hackers. Stuff that matters.
Re:9999999999999999.0 – 9999999999999998.0 by dkarl on Saturday January 05, 2019 @05:54PM (#18834847)
People do different kinds of work, so there are programmers who experience it both ways, 99% of the time floats are good solution or 99% of the time floats are an incorrect solution. Because of history and language support, classes and other resources for learning to program teach you to use floating-point numbers and don't bother with alternatives. As a result you have a lot of programmers who default to treating every number with a dot in it as floating point number, and they get burned by it, and instead of realizing it's just a gap in their education that they can correct, they treat overuse of floats as a mistaken industry-wide consensus that needs to be overturned.

There are no comments on this comment yet.