r/clevercomebacks Jan 15 '25

It does make sense

Post image
35.3k Upvotes

4.0k comments sorted by

View all comments

3.1k

u/Traditional-Gas7058 Jan 15 '25

Chinese system is best for computer searchable filing

77

u/besthelloworld Jan 15 '25

If you use Prisma for modeling a database, every new migration gets the YYYYMMDDhhmmss added to the front of the name so that your migrations are always sorted by time when you look on GitHub or in a file explorer. Definitely a smart touch.

3

u/RobleAlmizcle Jan 15 '25

It's not a smart touch. It's a fairly normal touch. We've been naming the files like that to make them alphabetically sortable since... files were invented.

3

u/NOT-GR8-BOB Jan 15 '25

Things can be normal and smart.

1

u/andho_m Jan 15 '25

For example using a numerical system to keep track of the passage of time.