7:20 on Friday evening - time for a break from screens
It’s been a long slow, week.
The current out-of-hours task is updating a shopping basket system. The change is quite knotty and I’m not sure I really want to get into the guts of it now I’m away from the old primary work-station.
The key issue is being able to set date ranges. Let’s say someone plans to set up a food van on a Saturday and wants to be able to take orders 2 days in advance up to 30 mins before they open. Sound simple? It is until you want to set up a menu than you can used for multiple events on different dates. Associating different date ranges to basket items that are the same apart from the event they’re available on is actually quite challenging.
I think I’ve solved the big stuff, and should just now need to grind through the process a few times to make sure the logic flow is logical enough to find any anomolies easily. That’s one of the most important things for me. If code goes wrong it should tell you where and why so you can fix it quickly.