Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Metaclass
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Support in languages and tools== The following are some of the most prominent [[programming language]]s that support metaclasses. * [[Common Lisp]], via [[Common Lisp Object System|CLOS]] * [[Delphi (programming language)|Delphi]] and other versions of [[Object Pascal]] influenced by it * [[Groovy (programming language)|Groovy]] * [[Objective-C]] * [[Object REXX|ooRexx]] * [[Python (programming language)|Python]] * [[Perl]], via the metaclass pragma, as well as [[Moose (Perl)|Moose]] * [[Ruby (programming language)|Ruby]] * [[Smalltalk]] * [[C++]] (proposed for a possible inclusion in future version of the standard)<ref>{{cite web|url=http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0707r0.pdf|title=Metaclasses|author=Herb Sutter|author-link=Herb Sutter}}</ref> <!-- Please do not re-add the following languages to this list without discussing it on the talk page: * Java * Ruby --> Some less widespread languages that support metaclasses include [[OpenJava]], [[OpenC++ (software tool)|OpenC++]], [[OpenAda]], [[CorbaScript]], [[ObjVLisp]], [[Object-Z]], [[MODEL-K]], [[XOTcl]], and [[MELDC]]. Several of these languages date from the early 1990s and are of academic interest.<ref>{{Cite web |url=http://csl.ensm-douai.fr/noury/uploads/1/nouryBouraqadi.Gpce03WorkshopOnRepls.pdf |title=An implementation of mixins in Java using metaclasses |access-date=2007-11-27 |archive-url=https://web.archive.org/web/20071016230949/http://csl.ensm-douai.fr/noury/uploads/1/nouryBouraqadi.Gpce03WorkshopOnRepls.pdf |archive-date=2007-10-16 |url-status=dead }}</ref> [[Logtalk]], an object-oriented extension of [[Prolog]], also supports metaclasses. [[Resource Description Framework]] (RDF) and [[Unified Modeling Language]] (UML) both support metaclasses.
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)