4 ms·
"Reason 2 - It was thought to make code reuse easier. I see no evidence of 1 and 2." https://rubygems.org/stats https://rubygems.org/stats
by kyledrake 14y ago
"Reason 2 - It was thought to make code reuse easier. I see no evidence of 1 and 2."
https://rubygems.org/stats https://rubygems.org/stats
- astrange 14y agoCode 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).