3 ms·
> If you’re the kind of programmer who is likely to find compiler errors, you probably know who you are. A Swift developer? Just yesterday I found myself comp
by dep_b 9y ago
> If you’re the kind of programmer who is likely to find compiler errors, you probably know who you are.
A Swift developer?
Just yesterday I found myself compiling a new part of code in increments because all of the new code together wouldn't compile but adding the code and import first, compiling it before adding @UIApplicationMain would compile just fine. Exactly the same code that didn't build before.
I can't imagine what I would have done if I would have trusted that this was my error because the compiler would not make mistakes.
Though nothing compared to Swift 1.x, things tend to work generally and if the compiler does crash it'll crash on weird programming mistakes (like referencing type(of: self) before init() was called)