2 ms·
> This was clearly not something the tester liked. Also, to add insult to injury, they dinged me for not writing a cascaded nil-coalescing operator. The code th
by twblalock 7y ago
> This was clearly not something the tester liked. Also, to add insult to injury, they dinged me for not writing a cascaded nil-coalescing operator. The code they wanted me to write was difficult to understand, and absolutely not one bit faster.
The interviewer probably wanted you to write idiomatic Swift. That seems reasonable.
- ChrisMarshallNY 7y ago..except that it was for an Objective-C position, and "idiomatic Swift" doesn't mean "unmaintainable Swift." Most of the open-source code that I've written has been for other people to take over. Most of my repos are still 1-contributor ones, but every single one has been written to be extended. The ones that have been extended are being extended very well, indeed. I have had almost zero questions about the codebase.