3 ms·
1) Good example for a one-off object implementation; however, creating a one-off class and then an instance is just one more line. 2) Actually, I don't mind if
by limmeau 16y ago
1) Good example for a one-off object implementation; however, creating a one-off class and then an instance is just one more line.
2) Actually, I don't mind if adding methods to other developers' objects is hard; it always seemed to me like a dirty hack.