3 ms·
Gotcha, a better name for it is fantasy app. Let's have the fantasy app do exactly as you're recommending. Now, the fantasy app also happens to store its file
by refulgentis 2y ago
Gotcha, a better name for it is fantasy app.
Let's have the fantasy app do exactly as you're recommending.
Now, the fantasy app also happens to store its file using this filename format:
{uuid}.json
What objections are there to parsing the uuid from the filename and using it to sort?
Assuming you again mention the filename not be a valid UUID:
Is it possible to account for that and fallback to the safe behavior? :)
- sedatk 2y agoNo, because you wouldn’t know if UUID algorithm was changed. It’s a completely unnecessary coupling, like tying your shoelaces together before running.
- refulgentis 2y agoReductio ad absurdum: same argument applies to any persisted UUID. Do you understand? On second read, could be too short and unnecessarily Latin-y. :)