Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If your goal is storing opaque strings, that is a very silly thing to do.

At that point you’re just blowing up storage for no reason. Just use an int if you’re that sure.

Setting a string length to coincidentally the length of a int serialized to a string while doing no other validation on it is…. Just special.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: