Hacker News new | ask | show | jobs
by dukoid 2209 days ago
In some countries (such as Germany), a comma is the official decimal separator -- so v += 1,5 will look quite innocent...
2 comments

That's a valid point, but

v += 1.500

may be just as confusing.

A valid point. Nice.
Only if you forget whether you're reading German or C++.