In European countries, ',' and '.' are reversed when used to delimit thousands/the decimal. This could be the source of a few bugs out there. Write a static analysis tool that looks for these bugs.
One possible approach is to search for the following pattern /(,|.)\d{3}/.
Some other notes:
Look for locations where a function is receiving more arguments than it expects. (Perl, Ruby?)
Python lists (a = 1,000)
In European countries, ',' and '.' are reversed when used to delimit thousands/the decimal. This could be the source of a few bugs out there. Write a static analysis tool that looks for these bugs.
One possible approach is to search for the following pattern /(,|.)\d{3}/.
Some other notes: Look for locations where a function is receiving more arguments than it expects. (Perl, Ruby?) Python lists (a = 1,000)