Comment

Comment by pirateking

Does anyone know how Objective-C categories handle some of the issues brought up with Ruby 2.0 refinements?

It seems method swizzling is a far less touched trick than monkey patching, and the latest LLVM compiler throws a warning if a category overrides an existing method. I am curious about low level differences in how the two languages approach this problem.

parent pirateking 14 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton