3 ms·
> 1. You can't just change the implementation of the string type without messing up someone's program. Yeah, you can. 'NSString' is in fact a class cluster th
by mpweiher 12y ago
> 1. You can't just change the implementation of the string type without messing up someone's program.
Yeah, you can. 'NSString' is in fact a class cluster that provides different implementations/representations. Well, used to be on OS X, because it was changed to be a wrapper for a single CoreFoundation representation.
In GNUstep and Cocotron, I think they still use the older class-cluster implementation, and programs are portable between these implementations.
Polymorphism, baby :-)