|
|
|
|
|
by zapnuk
418 days ago
|
|
It's a contender for a "best idea and worst execution" award for programming languages in the last 20 years. I'd like to think that if things went just a little bit better it would have beed the ideal programming language for anything cloud / backend related. |
|
If you run into trouble, you can usually improve the dev experience by declaring types. This is usually only an issue if you're using a lot of generics or overloaded methods.
If Swift is giving you grief, it's probably type inference being slow or producing strange errors.Related to the above, generics are powerful, but I strongly feel they should only be used if they clarify the code. Often they obfuscate and complicate what's going on, especially if you have the interaction of two generic types.