Hacker News new | ask | show | jobs
by namanyayg 2008 days ago
Funny bug :) I often prefix integers with a char, e.g. maybe "u12345" here, in places where I'm using integers as id to force a string conversion and avoid any code accidentally doing math on it.
1 comments

Huh, I'm gonna try to remember this. You'd be surprised how lazy people get, even when money's involved.