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

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

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

7 个仓库

Awesome GitHub RepositoriesInstance Initialization Hooks

Executes setup functions automatically upon object creation to define initial state.

Distinguishing note: None of the candidates relate to language-level object initialization.

Explore 7 awesome GitHub repositories matching programming languages & runtimes · Instance Initialization Hooks. Refine with filters or upvote what's useful.

Awesome Instance Initialization Hooks GitHub Repositories

用 AI 发现最棒的仓库。我们将通过 AI 为您搜索最匹配的仓库。
  • walter201230/pythonwalter201230 的头像

    walter201230/Python

    26,516在 GitHub 上查看↗

    Python is a high-level, interpreted programming language designed for readability and versatility. It operates via a bytecode-based virtual machine and manages memory automatically through reference-counting garbage collection. The language supports multiple programming paradigms, including object-oriented, imperative, and functional styles, and provides a comprehensive standard library for system operations, networking, and data handling. The language is distinguished by its dynamic nature, allowing for runtime object introspection and metaclass-driven class creation. It utilizes protocol-ba

    Automates the configuration of initial object state during instantiation.

    Pythonpythonpython3
    在 GitHub 上查看↗26,516
  • crystal-lang/crystalcrystal-lang 的头像

    crystal-lang/crystal

    20,299在 GitHub 上查看↗

    Crystal is a statically typed, compiled programming language designed for high performance and memory safety. It leverages an LLVM-based compiler to translate source code into optimized machine-executable binaries, while its type-inference-based static analysis enforces strict safety rules during the build process. The language distinguishes itself through a fiber-based concurrent runtime that manages lightweight execution units for asynchronous input and output without blocking the main process. It also features a powerful compile-time macro system that allows for the inspection and transfor

    Ensures consistent object state through default instance variable initialization.

    Crystalcompilercrystalcrystal-language
    在 GitHub 上查看↗20,299
  • trekhleb/learn-pythontrekhleb 的头像

    trekhleb/learn-python

    18,058在 GitHub 上查看↗

    This project is an educational resource designed for learning the Python programming language. It serves as a tutorial repository and programming guide, providing a collection of annotated scripts, code examples, and cheatsheets to help users master syntax and core fundamentals. The resource focuses on moving from basic language syntax to advanced implementation, with a particular emphasis on object-oriented programming, the use of the Python standard library, and scripting automation for business workflows. The content covers a broad range of programming capabilities, including control flow

    Provides examples of using constructor methods to define the initial state of object instances.

    Pythonlearninglearning-by-doinglearning-python
    在 GitHub 上查看↗18,058
  • checkstyle/checkstylecheckstyle 的头像

    checkstyle/checkstyle

    8,867在 GitHub 上查看↗

    Checkstyle is a Java static analysis tool and linter designed to identify and enforce coding standards and best practices. It functions as a code quality auditor and Javadoc validation tool, checking source code against configurable rulesets to ensure structural and stylistic consistency. The project allows for the creation of custom linting rules by extending a core API to inspect the abstract syntax tree. It further enables specialized validation through the use of XPath expressions to query the syntax tree for specific code patterns and violations. Capability areas include the enforcement

    Detects and flags members that are explicitly assigned to their default type values.

    Javacode-qualitycommand-line-toolhacktoberfest
    在 GitHub 上查看↗8,867
  • larastan/larastanlarastan 的头像

    larastan/larastan

    6,430在 GitHub 上查看↗

    Larastan is a static analysis extension and type inference engine for PHP designed to detect bugs and type errors in Laravel applications. It extends PHPStan to resolve framework-specific patterns and magic methods, providing a rule-based scanning engine to audit code quality without executing the application. The tool specializes in Eloquent analysis, verifying that model properties, casts, and relationships align with database schemas and migrations. It tracks types across Eloquent collections, custom builders, and model factories to ensure type safety during database operations and iterati

    Flags the use of static creation methods where a simple new instance is more efficient.

    PHP
    在 GitHub 上查看↗6,430
  • balloonwj/cppguideballoonwj 的头像

    balloonwj/CppGuide

    6,030在 GitHub 上查看↗

    CppGuide is a curated collection of educational resources and practical guides focused on C++ server development, Linux kernel internals, concurrent programming, network protocols, and security exploitation. It provides structured learning paths for backend developers, covering everything from interview preparation to building high-performance network servers and understanding operating system fundamentals. The guide distinguishes itself by offering in-depth, hands-on tutorials that walk through real-world implementations, including building a Redis-like server from scratch, designing custom

    Teaches C++17 scoped variable initialization inside if and switch conditions for cleaner code.

    在 GitHub 上查看↗6,030
  • python-attrs/attrspython-attrs 的头像

    python-attrs/attrs

    5,799在 GitHub 上查看↗

    attrs is a Python library that automatically generates initialization, representation, equality, hashing, and ordering methods from declarative class attribute definitions. At its core, it provides a class decorator metaprogramming framework that intercepts class creation to rewrite the class body, producing dunder methods without manual boilerplate. The library includes a comprehensive attribute validation toolkit with built-in validators for type checks, range constraints, regex matching, length limits, and logical composition of validation rules. The library distinguishes itself through it

    Generates an initializer method from declared attributes, eliminating manual assignment of instance variables.

    Python
    在 GitHub 上查看↗5,799
  1. Home
  2. Programming Languages & Runtimes
  3. Instance Initialization Hooks

探索子标签

  • Instance Variable Initializers2 个子标签Assigns default values to instance variables during object creation to ensure consistent state. **Distinct from Instance Initialization Hooks:** Distinct from Instance Initialization Hooks: focuses on variable-level default assignment rather than general setup hooks.