|
|
|
|
|
by mmfZ4e4OqQ7RRwP
4031 days ago
|
|
I'm going through half of Swift's ebook rewriting an old objc program in the process and the amount of syntax special cases is just mind boggling. So far the worst offender to me feels the use of the where keyword inside branched let assignments. Example: ``if let a = optionalValue where a.someFieldString = "hello" { ... }``. In general the ``where`` keyword signals they ran out of ideas designing the language. |
|