Why Swift closures are not Equatable
05 April 2021
Updated: 06 April 2021
Despite the fact that closures (and functions) are reference types in Swift, they cannot be compared using ==
or ===
. But why?
turing complete with a stack of 0xdeadbeef
Despite the fact that closures (and functions) are reference types in Swift, they cannot be compared using ==
or ===
. But why?
Today I cleaned up my various projects and todo’s in OmniFocus. I am always collecting links and resources for potential project ideas, or for general learning. Sometimes, however, it is best to acknowledge that I will likely never have enough free time to even begin some of these endeavors.