Swift Around the Web
A very humble and non-intimidating starter explanation about how types are implemented in Swift, from the parser down to the lower layers of code generation in the front-end 👏 If you're interested in contributing to Swift, but not sure how - this is seriously an amazing start. Looking forward to a lot more post like this one!
You might have run into this Swift compiler error and maybe thought it was a bit humorous and of course a bit annoying to have to slightly re-write the code:
error: expression was too complex to be solved in reasonable time; consider breaking up the expression into distinct sub-expressions
This post looks at examples that trigger this error, explains why they occur, how you can work around them, and the negative effects beyond compiler errors that are caused by the same underlying issue.