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

One of the things I've found strange about UUIDs is their serialization to hex when displayed as a string, yet I've seen real life projects with little technical debt store them as a string in a database. This is obviously the fault of the programmer, but you have to look at that and think if you're serializing to a string (whether that be in a database or over the network), there are so many better options.


There will be a lot of these. Microsoft's ASP.NET Core Identity by default stores user id as a GUID string to the database:

https://github.com/aspnet/Identity/blob/dev/src/Microsoft.Ex...




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

Search: