" That flexibility makes type checking difficult." if type checking is so difficult, they should have a compiler flag you can add that requires you to declare all variable types like in C++ or ObjC, and checks if you have not done this. an error with no specific line number seems prehistoric in the compiler era. Or at least make a "recommended practice" to declare the types of all variables. You may save 15 minutes by not doing so, then next week you might spend 2 hours trying to find the source of an error like this.
Topic:
Programming Languages
SubTopic:
Swift
Tags: