4 ms·
Code reuse works at the library level, not the individual object level. You're not exactly fishing an object out of a worldwide sea of classes there. Actually,
by astrange 14y ago
Code reuse works at the library level, not the individual object level. You're not exactly fishing an object out of a worldwide sea of classes there.
Actually, immutability can code reuse pretty easy, but many OO systems make no effort to encourage that (one reason Python is not my favorite language).