3 مستودعات
Mechanisms that execute different method implementations based on the class of the provided object.
Distinct from Generic Function Definitions: Distinct from Generic Function Definitions (which focus on type safety/signatures) by focusing on the runtime dispatch logic.
Explore 3 awesome GitHub repositories matching programming languages & runtimes · Polymorphic Dispatch. Refine with filters or upvote what's useful.
This project is a comprehensive Lisp AI implementation library that provides reference implementations for various artificial intelligence paradigms and symbolic algorithms. It functions as a multi-purpose toolkit containing a logic programming engine, a natural language processing suite, and a symbolic mathematics toolkit. The library is distinguished by its diverse architectural frameworks, including a Prolog-style execution engine that uses unification and goal-driven backtracking, and a system for simulating human decision-making through expert system shells and certainty factors. It also
Defines a global interface that executes the appropriate method for an object based on its class.
هذا المشروع هو دليل لتنفيذ أنماط تصميم البرمجيات ومرجع معماري. يوفر مجموعة عملية من أمثلة الكود التي توضح الأنماط الإنشائية والهيكلية والسلوكية لتحسين قابلية صيانة البرمجيات وجودتها. تتضمن المكتبة تطبيقات معيارية لإنشاء الكائنات من خلال الأنماط الإنشائية، وقوالب لتجميع الكائنات في تسلسلات هرمية فعالة باستخدام الأنماط الهيكلية، وأمثلة لإدارة اتصالات الكائنات وتوزيع المسؤوليات عبر الأنماط السلوكية. يربط المشروع أنماط التصميم المجردة هذه بمجالات عمل محددة، مثل المعاملات والتسويق، لتوضيح كيفية حل مشاكل البرمجيات في العالم الحقيقي. يتضمن ذلك تطبيق الإرسال متعدد الأشكال في وقت التشغيل وفك الاقتران القائم على الواجهات لتقليل تعقيد النظام وزيادة قابليته للتوسع.
Implements mechanisms to determine concrete class execution at runtime based on object types.
This project is a comprehensive guide and set of engineering standards for writing readable, maintainable, and scalable JavaScript code. It provides a framework for software architecture, refactoring patterns, and clean coding practices designed to improve codebase health and longevity. The guide emphasizes the application of SOLID principles and architectural strategies such as dependency inversion and the separation of concerns. It focuses on transforming complex conditional logic through polymorphism and refactoring, while promoting a transition from imperative loops to declarative functio
Implements polymorphic method dispatch in subclasses to replace switch or if-else chains.