Latest Arrive With a Take
"Go to them with a solution, not a problem" is the advice that changed how I work. It's also, in its poster form, one of the more dangerous things you can tell an engineer. The difference is in the parts people leave off.
Tech blog posts
"Go to them with a solution, not a problem" is the advice that changed how I work. It's also, in its poster form, one of the more dangerous things you can tell an engineer. The difference is in the parts people leave off.
Swift 6's strict concurrency checking flags the classic singleton pattern as unsafe, because it always was. Here are four ways to fix "static property 'shared' is not concurrency-safe", from quickest to most correct.
A small decision with big impact: why required parameters should come first and defaulted parameters should trail at the end. The Swift API Design Guidelines agree.
Booleans are simple, but sometimes they create more confusion than they solve. When false doesn't have an obvious meaning, a two-value enum might be the clearer choice.