3 ms·
> The Python package `shortuuid` makes working with UUIDs a little easier by encoding them as strings: This. In my opinion the only issue with UUIDs is that th
by rualca 6y ago
> The Python package `shortuuid` makes working with UUIDs a little easier by encoding them as strings:
This. In my opinion the only issue with UUIDs is that their standard textual representation can be very verbose and cumbersome in some scenarios.
A single ID takes over around 40 string characters in a line. That's half the width of a default terminal's width.
Thus the solution is obviously to use other textual representations. Instead of base16 then let's ramp up the base to shorten up the text dump, and while we are at it let's pick a readable format.