3 ms·
Why is this better than picking an appropriate number of random characters from [A-Za-z0-9]? The base64 encoding seems weird and unnecessary. Plus you get dashe
by stickfigure 6y ago
Why is this better than picking an appropriate number of random characters from [A-Za-z0-9]? The base64 encoding seems weird and unnecessary. Plus you get dashes and underscores which can screw up copypaste.
- minxomat 6y agoI wrote this specifically to match youtube's format (see my other comment in this thread).
- stickfigure 6y agoSo... add dash and underscore to your character set? The contortions seem pointless.
- Dylan16807 6y agoYou need to make sure the last character only has 16 possibilities so that it can round-trip to a 64 bit int. But once you're embedding two lists of characters you might as well just do base64 then a punctuation swap to be simpler and easier to understand.