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

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

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

labs42io/clean-code-typescript

0
View on GitHub↗
9,764 星标·1,176 分支·TypeScript·MIT·8 次浏览labs42io.github.io/clean-code-typescript↗

Clean Code Typescript

This project is a set of software engineering standards and architectural patterns for writing maintainable and refactorable TypeScript code. It provides a comprehensive guide for implementing clean code principles, focusing on the application of SOLID design and structural patterns to build decoupled systems.

The framework prioritizes composition over inheritance and utilizes dependency inversion to reduce system coupling. It establishes standards for strict static typing and the use of read-only modifiers to ensure type safety and eliminate runtime errors.

The guidance covers a broad range of capabilities, including project organization through standardized source file layouts and path aliases, function design based on single responsibility, and the management of immutable state. It also defines patterns for asynchronous logic management and the creation of independent, repeatable unit tests.

Features

  • Clean Coding Standards - Establishes a comprehensive set of clean coding standards for writing readable and maintainable TypeScript code.
  • SOLID Principles - Provides a comprehensive implementation guide for SOLID design principles in TypeScript.
  • Architecture Patterns - Establishes design guidelines for decoupled systems using composition and SOLID principles.
  • Type Safety - Uses strict type definitions and read-only modifiers to prevent runtime errors and enable safe refactoring.
  • Code Maintainability Principles - Provides comprehensive standards for writing maintainable, readable, and refactorable TypeScript code.
  • Atomic Function Design - Implements standards for writing small, single-responsibility functions to simplify maintenance and testing.
  • Function Signature Optimizations - Optimizes function design by limiting arguments and ensuring each function operates at a single abstraction level.
  • Object Composition Patterns - Provides design strategies that prioritize object composition over inheritance hierarchies to reduce system coupling.
  • Dependency Inversion Patterns - Implements architectural patterns ensuring high-level business logic depends on abstractions rather than concrete implementations.
  • TypeScript Patterns - Implements SOLID principles and composition patterns tailored for decoupled TypeScript systems.
  • Composition Over Inheritance - Implements design approaches that favor combining simple objects over deep inheritance hierarchies to build flexible systems.
  • Software Design Principles - Applies structural design principles and dependency inversion to prevent changes in one area from breaking unrelated components.
  • TypeScript Type Definitions - Leverages strict static typing and read-only modifiers to catch logic flaws during development.
  • Static Type Checking - Enforces strict static type checking during development to catch logic flaws before runtime.
  • Unit Testing - Provides patterns for writing fast, independent unit tests that validate individual logic components in isolation.
  • Error Handling - Defines patterns for managing runtime errors using native error types and promise catch blocks.
  • Module Resolution - Standardizes module resolution through path aliases to create a predictable navigation flow between files.
  • Asynchronous Error Handling - Provides patterns for managing exceptions within asynchronous execution flows using promises and async/await.
  • Generic Data Abstractions - Uses enums and generators as data abstractions to hide internal complexity and simplify data streaming.
  • Interface-Based Data Abstractions - Uses enums and generators to hide internal complexity and provide a simplified data API.
  • Functional Design Patterns - Applies functional design patterns to ensure functions perform a single task for improved testability.
  • Side Effect Management - Provides architectural strategies for isolating side effects by centralizing state mutations.
  • Async Flow Patterns - Implements async/await patterns and promise-based error handling to manage complex background tasks.
  • Code Duplication Reduction - Provides practices for eliminating redundant logic and dead code through the use of architectural abstractions.
  • Cognitive Load Reducers - Standardizes source file layouts and import groups to reduce cognitive load and improve navigation.
  • Coding Standards - Defines engineering guidelines and language conventions to ensure code remains reusable and easy to refactor.
  • API Complexity Abstractions - Hides internal data complexity using enums and generators to provide a simplified API for users.
  • Project Organization - Standardizes source file layouts and import patterns to improve project navigation.
  • Project Structure Organization - Defines a structural standard for organizing source files and reducing system coupling.
  • Project Structures - Establishes standards for module resolution through path aliases and consistent import groups.
  • Read-Only State Protections - Protects data from accidental mutation using read-only modifiers and object cloning.
  • Immutable State Patterns - Provides architectural patterns for predictable state transitions by using immutable data strategies.
  • Source File Organization - Standardizes source file organization and import groups to ensure a clear navigation flow between modules.
  • Technical Debt Management - Provides methodologies for identifying and reducing technical debt by eliminating redundant code and rigid hierarchies.
  • Software Testing - Applies standard testing principles to create repeatable, self-validating tests that prevent software regressions.
  • Test Patterns - Provides repeatable patterns for structuring independent unit tests in isolation.
  • Test Suite Architectures - Defines structural strategies for test suites to ensure they remain fast, independent, and easy to update.
  • 开发者工具 - Best practices for writing clean TypeScript code.
  • Learning Resources - Best practices for writing maintainable and clean code.
  • TypeScript Resources - Best practices for writing clean TypeScript code.

Star 历史

labs42io/clean-code-typescript 的 Star 历史图表labs42io/clean-code-typescript 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

Clean Code Typescript 的开源替代方案

相似的开源项目,按与 Clean Code Typescript 的功能重合度排序。
  • piotrplenik/clean-code-phppiotrplenik 的头像

    piotrplenik/clean-code-php

    12,455在 GitHub 上查看↗

    This project is a PHP clean code guide and software architecture reference. It provides a set of standards, naming conventions, and design patterns intended to improve the long-term maintainability and readability of PHP codebases. The guide emphasizes a structured approach to refactoring and system design, focusing on the application of SOLID principles to reduce coupling and increase extensibility. It advocates for object-oriented design through the use of composition over inheritance, the use of final classes to prevent unexpected overrides, and the implementation of strict type declaratio

    PHP
    在 GitHub 上查看↗12,455
  • felipe-augusto/clean-code-javascriptfelipe-augusto 的头像

    felipe-augusto/clean-code-javascript

    4,891在 GitHub 上查看↗

    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

    JavaScriptclean-codejavascript
    在 GitHub 上查看↗4,891
  • zakirullin/cognitive-loadzakirullin 的头像

    zakirullin/cognitive-load

    12,288在 GitHub 上查看↗

    This project is a collection of software engineering principles and architectural design patterns designed to minimize the mental effort required to understand and maintain source code. It serves as a guide for implementing clean code methodologies and architectural simplification to reduce the overall cognitive load on developers. The framework emphasizes aligning module boundaries and ubiquitous language with business stakeholders to prevent architectural ripple effects. It advocates for balancing service granularity to avoid the overhead of distributed monoliths and suggests favoring objec

    在 GitHub 上查看↗12,288
  • gyoogle/tech-interview-for-developergyoogle 的头像

    gyoogle/tech-interview-for-developer

    17,417在 GitHub 上查看↗

    This project is a comprehensive technical interview preparation resource and computer science interview guide. It serves as an educational reference for developers to study core software engineering fundamentals and common coding patterns required for employment screenings. The repository provides detailed guides and references covering data structures and algorithms, networking and security, operating systems, and web development. It specifically focuses on the implementation and complexity analysis of sorting, searching, and graph algorithms. The material encompasses a wide breadth of comp

    Javaalgorithmcomputer-sciencecs
    在 GitHub 上查看↗17,417
查看 Clean Code Typescript 的所有 30 个替代方案→

常见问题解答

labs42io/clean-code-typescript 是做什么的?

This project is a set of software engineering standards and architectural patterns for writing maintainable and refactorable TypeScript code. It provides a comprehensive guide for implementing clean code principles, focusing on the application of SOLID design and structural patterns to build decoupled systems.

labs42io/clean-code-typescript 的主要功能有哪些?

labs42io/clean-code-typescript 的主要功能包括:Clean Coding Standards, SOLID Principles, Architecture Patterns, Type Safety, Code Maintainability Principles, Atomic Function Design, Function Signature Optimizations, Object Composition Patterns。

labs42io/clean-code-typescript 有哪些开源替代品?

labs42io/clean-code-typescript 的开源替代品包括: piotrplenik/clean-code-php — This project is a PHP clean code guide and software architecture reference. It provides a set of standards, naming… felipe-augusto/clean-code-javascript — This project is a comprehensive guide and set of engineering standards for writing readable, maintainable, and… zakirullin/cognitive-load — This project is a collection of software engineering principles and architectural design patterns designed to minimize… gyoogle/tech-interview-for-developer — This project is a comprehensive technical interview preparation resource and computer science interview guide. It… federico-busato/modern-cpp-programming — This project is a comprehensive educational resource and programming course covering C++ language semantics and… juancrg90/clean-code-notes — Clean-Code-Notes is a clean code study guide and a collection of detailed notes based on professional software…