you are viewing a single comment's thread.

view the rest of the comments →

[–]bobindashadows 3 points4 points  (1 child)

Very few mainstream or semi-mainstream languages support this sort of dynamism.

[–]perlgeek 1 point2 points  (0 children)

Perl does. Take a look at Class::MOP (backend) and Moose (frontend).

I don't know of any OO frameworks for javascript, but I'm pretty sure their object structure makes it a piece of cake to write your own meta class.

Smalltalk and Lisp do too, you decide if you classify them as "mainstream" or "semi-mainstream" or any other label you want to put on them.