3 ms·
Yeah every other travel site seems to at least show you the proper date range. Let's not make excuses for shitty work, a date picker component isn't an NP Compl
by jorblumesea 8y ago
Yeah every other travel site seems to at least show you the proper date range. Let's not make excuses for shitty work, a date picker component isn't an NP Complete problem.
- Sharlin 8y agoMy comment was not meant to be an apology of any sort at all. Quite the opposite! Not all datepickers are as broken as this one, but that doesn’t mean the situation where everyone keeps reinventing things is a good one.
- tvararu 8y agoIt is not. Though, it’s interesting to note that once when I took a date picker component and attempted to morph it into a full-blown MacOS calendar, with calendar appointments that slot into different time slots and don’t overlap, I found that that is an NP-Hard bin packing problem.
- no_identd 8y ago>Let's not make excuses for shitty work, a date picker component isn't an NP Complete problem. ...how would one even define a complexity class for date picker components?