News for hackers. Stuff that matters.
Re:JSON with Commas and Comments by colejohnson66 on Tuesday February 23, 2021 @08:31PM (#26245511)
It doesn’t help that it’s called a serial number, and is sequential (hence, serial, but some manufacturers don’t care). num++ is easier than implementing increment_number_string that works on ASCII digits.
Re:JSON with Commas and Comments by banana_giraffe on Tuesday February 23, 2021 @08:47PM (#26245610)
Yep, "serial number" was basically the argument for using a number type in the first place, and here they were sequential. Even then, ignoring the JSON peculiarities, it would have been ok up till someone had the brilliant idea to have x digit serial numbers for one product line, and y digit for another. With only zero padding to tell them apart. This person, not a programmer, could not fathom why it caused the "tech heads to go crazy".

Sometimes I debate collecting stories like this.