This week's article: "Avoiding race conditions in Swift" 🚀
Tips & techniques for avoiding common race conditions when dealing with asynchronous and multi-threaded code 👍
swiftbysundell.com/posts/avoiding…
@johnsundell I ask about their opinions of things. It gives you a chance to see how they think. If they don't know about a thing I let them Google and see how they take research and understanding. I get a super clear picture and am often told it was the most enjoyable interview they've had
When interviewing candidates for a dev job, I don’t ask them to solve algorithmic puzzles or to build a trivial app - instead I trust that they know what they say they do, and focus on discussing the app they’d actually work on and how they would implement some of its features 🙂
@estellevw@nnnnnnnn Then HTML will fail to be accessable. Any standard that fails to consider the frailty of human application of its principles will fail to realise those principles
A little late night prototyping session reveals that protocol constraints can not only be applied to extensions - they can also be added to protocol definitions! 🤯
This is awesome, since it lets us easily define specialized protocols based on more generic ones 👍
Let's kick off October's Swift tips with a super handy extension on Swift's Optional type, which gives us a really nice API for easily unwrapping an optional, or throwing an error in case the value turned out to be nil 👍
@johnsundell What the actual &@£%! 4 hours? Is that all the time you spend?? Please please tell me you spend further hours carefully considering the topic and mulling how you will take it. Please.
I very often get asked to create a sample Xcode project for one of my weekly articles, and at first it might seem like an oversight that my articles don't have any full projects attached that you can download and run, so I thought I'd explain why that is 🙂 (1/4)