The biggest sin in Swift is how it allows instance methods to be passed as parameters to functions that take a block type. It’s a turnkey solution to getting a memory leak in your code!


It’s also IMPOSSIBLE to detect in code review unless you know the signature of all methods involved.

Sign in to participate in the conversation
Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!