awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目MCP 服务器关于排名机制媒体报道
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

2 个仓库

Awesome GitHub RepositoriesValue Type Prioritization

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.

Awesome Value Type Prioritization GitHub Repositories

用 AI 发现最棒的仓库。我们将通过 AI 为您搜索最匹配的仓库。
  • github/swift-style-guidegithub 的头像

    github/swift-style-guide

    4,762在 GitHub 上查看↗

    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.

    在 GitHub 上查看↗4,762
  • devicekit/devicekitdevicekit 的头像

    devicekit/DeviceKit

    4,713在 GitHub 上查看↗

    DeviceKit 是一个 iOS 硬件库,为设备规格和系统状态指标提供了值类型(value-type)替代方案。它作为一个框架,用于检测设备标识、硬件能力、显示指标和实时系统状态指示器。 该库包含用于识别特定设备型号、系列和模拟器状态的工具,以实现硬件特定的优化。它还提供了一个物理组件检测器(如生物识别传感器和触控笔支持),用于切换界面功能。 其他功能涵盖了用于屏幕尺寸和像素密度的显示指标分析,以及用于电池电量、充电状态、电源模式和可用磁盘空间的系统监控。

    Uses an architectural preference for immutable value types to represent device attributes and prevent state mutation.

    Swift
    在 GitHub 上查看↗4,713
  1. Home
  2. Software Engineering & Architecture
  3. Value Type Prioritization