Back to course home
0% completed
Vote For New Content
Please never store int statuses in databases
Andrew Sologor
Apr 22, 2025
Store string statuses in your tables/documents, and use string enums. Do not use integers. A few bytes of optimization are not worth bad human readability.
I remember a dialogue I heard at the office at one of my past jobs:
- Did you find that broken order? - Yes. - What status does it have? - 5
0
0
Comments
Comments