کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
9655070 683738 2005 22 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
Uniform and safe metaclass composition
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر نظریه محاسباتی و ریاضیات
پیش نمایش صفحه اول مقاله
Uniform and safe metaclass composition
چکیده انگلیسی
Numerous approaches have tried to solve metaclass composition problems, but they always resort to an ad-hoc manner of handling conflicting properties, alienating the meta-programmer. We propose a uniform approach that represents class properties as traits, groups of methods that act as a unit of reuse from which classes are composed. Like all the other classes in the system, metaclasses are composed out of traits. This solution supports the reuse of class properties, and their safe and automatic composition based on explicit conflict resolution. The paper discusses traits and our solution, shows concrete examples implemented in the Smalltalk environment Squeak, and compares our approach with existing models for composing class properties.
ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Computer Languages, Systems & Structures - Volume 31, Issues 3–4, October–December 2005, Pages 143-164
نویسندگان
, , ,