Software Dev

Swift Algorithms

Apple announced an open-source algorithms project with some very over-the-top, flashy language. πŸ˜‰

I’m excited to announce Swift Algorithms, a new open-source package of sequence and collection algorithms, along with their related types.

πŸ‘‰ Announcing Swift Algorithms

This library seems to be a sort of farm league for things that might make it to big leagues of the Swift Standard Library eventually.

Swift Algorithms lets you do just about anything you can think of with a collection (or two). It lets you do stuff like rotate [10, 20, 30, 40, 50, 60] to [30, 40, 50, 60, 10, 20], or find all possible permutations of [10, 20, 30], and lots of other things like chunking, random sampling, etc. Fun. πŸ€“

Via iOS Dev Weekly.

Software Dev

Algorithms Interview Rant πŸ™Œ

It’s great to hear another dev just flat-out rant about the stupidity of “the algorithm interview”. Or as I call it, the “Computer Science 101” interview.

This podcast is basically saying that an effective interview should focus on things that you actually do on the job. In what crazy world are we interviewing for one skill and hiring for another?

I’ve been through a few “algorithm” interviews. They’re not that hard. They’re just annoying and misguided.

We are not in college any more. We are solving real-world problems.

The hardest technical interview I ever had as an iOS developer focused on things like the trade offs between different approaches to concurrency, effective testing at different levels, dependency management, and optimizing table views. These are much more interesting problems than a binary search.

If you do a computer science 101 interview, I guess you get to hire a bunch of computer science students. πŸ€·πŸ»β€β™‚οΈ