Error handling makes everything more complicated. Ugh! What do you do if a network call times out (pretty common)? Or you’re trying to save an image and there is no disk space (less common but can happen)? Or that thing that’s never supposed to happen happens (occasionally happens)?
I mean, you have to do something, right? Ugh. 🤦🏻♂️
Here are some tips. Thanks to Swift By Sundell for giving this topic some attention.
Feature flags are a great way to selectively introduce new features. it allows you to experiment and commit incrementally.
The only down-side to feature flags all the extra code, and in particular going back later together rid of all the crusty flag code flagging you feature on or off. This kind of tech debt can really pile up over time.
Apparently Uber uses feature flags in the thousands and without remorse. So they came up with this automatic way to wipe out your stale, disabled code. Perfect name, too!
I took a class from this lady once, and I’ve really been digging the ideas in this video.
Basically, she’s saying that this pandemic is not just a problem. It’s an opportunity to reset yourself and find your focus. This extra time without a commute and all the normal trappings of life is a rare gift. Make use of it. 💪🏻