Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API

From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
I had something similar to this in different layers of an enterprise application. One layer took everything as strings. Layers on either side tried to work around this. One used decimal to parse numbers, the other used int. The issue was two values not being equal in that abomination because "1" != "1.0000" when comparing strings.
-
in javascript it happens naturaly, sometimes you are comparing strings, other numbers, or a mix of both. Just put several programmers in, no coding standards and voila!
Related Rants
Recently saw a piece of code left by a former coworker where he converted an int to a long, by converting it to a string, then parsing the string.
undefined
language