5 ms·
Neat. I built runtime argument and return value type-checking into Objective-J awhile back (not enabled by default due to performance overhead). It was really e
by tlrobinson 15y ago
Neat. I built runtime argument and return value type-checking into Objective-J awhile back (not enabled by default due to performance overhead). It was really easy since we already declare Objective-J argument and return value types, and we can easily intercept every Objective-J message invocation.
https://github.com/cappuccino/cappuccino/blob/master/Objective-J/Debug.js#L141-245 https://github.com/cappuccino/cappuccino/blob/master/Objecti...