2 مستودعات
Architectural preference for using value types like structs and enums over reference types.
Distinct from Value Type Wrappers: None of the candidates describe the strategic architectural preference for value types over classes
Explore 2 awesome GitHub repositories matching software engineering & architecture · Value Type Prioritization. Refine with filters or upvote what's useful.
This project is a set of coding standards, architectural patterns, and type safety guidelines for writing Swift source code. It provides a framework for maintaining clean and maintainable code through established conventions and formatting rules. The guide prioritizes composition over class inheritance by favoring value types and final classes. It establishes a policy for access control to manage boundaries between internal logic and external components through explicit visibility modifiers. The standards cover type safety optimization through immutable bindings and safe optional handling. A
Favors structs and enums over classes to ensure predictable state and reduce memory overhead.
DeviceKit هي مكتبة أجهزة لنظام iOS توفر بديلاً من نوع القيمة (value-type) لمواصفات الجهاز ومقاييس حالة النظام. تعمل كإطار عمل لاكتشاف هوية الجهاز، وقدرات الأجهزة، ومقاييس العرض، ومؤشرات حالة النظام في الوقت الفعلي. تتضمن المكتبة أدوات لتحديد طرازات أجهزة معينة، وعائلات الأجهزة، وحالة المحاكي لتنفيذ تحسينات خاصة بالأجهزة. كما توفر كاشفاً للمكونات المادية، مثل مستشعرات القياسات الحيوية ودعم القلم، لتبديل ميزات الواجهة. تغطي القدرات الإضافية تحليل مقاييس العرض لأبعاد الشاشة وكثافة البكسل، بالإضافة إلى مراقبة النظام لمستويات البطارية، وحالة الشحن، وأوضاع الطاقة، ومساحة القرص المتاحة.
Uses an architectural preference for immutable value types to represent device attributes and prevent state mutation.