3 ms·
Asking a design question like "Design a booking system, but with recurring appointments" is like asking "Write a function to order a list of string, but it has
by tonnydourado 2y ago
Asking a design question like "Design a booking system, but with recurring appointments" is like asking "Write a function to order a list of string, but it has to work with arbitrary UTF-8 strings, in any locale, respecting alphabetical order conventions". It's a deceptively simple question that gets impossibly hairy if you try to make it work in a real-world, general, way.
- dmd 2y ago(As someone who hires) the correct answer to any question involving datetimes is always "use a [good] library - do not attempt to reimplement all of human civilization from scratch".