4 ms·
Perl has reader macros and a meta-object protocol upon the object system is built with. Ruby and Python don't have either AFAIK. That is an example of what the
by PuercoPop 13y ago
Perl has reader macros and a meta-object protocol upon the object system is built with. Ruby and Python don't have either AFAIK. That is an example of what the OP is saying with Perl is an extensible language.
- banachtarski 13y agoYou should learn Ruby.
- systems 13y agoit seems that Ruby doesnt have a MOP http://codefol.io/posts/Does-Ruby-Have-a-Metaobject-Protocol http://codefol.io/posts/Does-Ruby-Have-a-Metaobject-Protocol
- einhverfr 13y ago> Perl has reader macros and a meta-object protocol upon the object system is built with. More specifically, Perl has advanced features with which meta-object protocols can be built with. See Class::MOP on which Moose is built. > That is an example of what the OP is saying with Perl is an extensible language. I think the difficulty with Ruby and Python is that both are fully object-oriented, which means it is difficult to create something that is truly orthogonal to the object model.
- marcosdumay 13y agoPython is not fully object-oriented.
- rat87 13y agoIn what way?
- systems 13y agohow does Perl have reader macros, can you please point to a link if possible? i couldnt find this one simply searching online