Something similar to Objective-C categories in other languages?

Posted by adig on Programmers See other posts from Programmers or by adig
Published on 2012-10-17T10:01:12Z Indexed on 2012/10/17 11:20 UTC
Read the original article Hit count: 326

I understand Objective-C categories and how they become useful, but I always have a hard time explaining the concept to other programmers that are not familiar with Objective C.

Maybe I'm just bad at explaining things, but I was thinking at another way to explain it by comparing to similar features offered by other (more popular) languages. (ex : I can explain the similarities between Objective C protocols and Java Interfaces)

Any examples similar to Categories ?

© Programmers or respective owner

Related posts about programming-languages

Related posts about object-oriented