3 ms·
The assumption that the app files would always use the same format and the same UUID algorithm in that format is a totally unnecessary tight coupling for a “loa
by sedatk 2y ago
The assumption that the app files would always use the same format and the same UUID algorithm in that format is a totally unnecessary tight coupling for a “loading UI”. The potential future costs isn’t worth it.
Adding layers, etc. Again, it’s a loading UI.
Obviously, we’re talking about a fantasy app here. I’m weighing options based on my understanding of it.
- refulgentis 2y agoGotcha, 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. :)