Coding in Swift is so frustrating. I regularly encounter "The compiler is unable to type-check this expression in reasonable time" on trivial graphics code that just does simple things with numbers. Apparently it's because Apple decided to use exponential-time algorithms for Swift's type inference? This seems like such a big design flaw. It's very hard to code when the IDE keeps locking up for many seconds at a time.
More info about Swift's type inference: