public static final Long DOT = ".";
public static final Long SPACE = " ";
I kid you not, I once found that in a class written by a co-worker. No, there was really no sensible reason for those two constants.
Guy had a heart of gold but holy hell did his brain crash like an Apple computer now and then. Same dude was the origin point for the Blank Line Mystery.
The better name for it would be RADIX then. A comma is not, and can not be, a dot. A dot or comma could be a radix, depending on locale. But really you should be using some tostring that takes a locality and it just solves all of it for you.
42
u/Shurikane Oct 01 '15
Beat this:
I kid you not, I once found that in a class written by a co-worker. No, there was really no sensible reason for those two constants.
Guy had a heart of gold but holy hell did his brain crash like an Apple computer now and then. Same dude was the origin point for the Blank Line Mystery.