2 ms·
Making the language difficult for advanced developers to abuse is practically an explicit goal of Swift. I mean, its predecessor allowed you to mutate your cla
by cballard 11y ago
Making the language difficult for advanced developers to abuse is practically an explicit goal of Swift.
I mean, its predecessor allowed you to mutate your class hierarchy at runtime, and this was a thing that people commonly did!
"You can't do that" is a powerful tool for making code safer.