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

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

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

ryanmcdermott/clean-code-javascript

0
View on GitHub↗

Clean Code Javascript

This project is a collection of engineering guidelines and best practices for writing readable and maintainable JavaScript source code. It serves as a clean code guide and refactoring manual to help developers improve the structure of their codebases.

The repository provides a reference for applying SOLID principles to reduce coupling and enable extensions without modifying existing logic. It includes a naming convention standard for using explicit, searchable identifiers and a guide for asynchronous patterns to replace nested callbacks with clearer execution flows.

The guidelines cover software design capabilities including function optimization, the removal of code duplication, and the implementation of object-oriented patterns. It also addresses code hygiene, error management, and the minimization of side effects through immutable data patterns.

AI 搜索

探索更多 awesome 仓库

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

Start searching with AI

Features

  • JavaScript Implementations - Provides a comprehensive reference for applying SOLID principles and object patterns to JavaScript applications.
  • Code Maintainability Principles - Provides a comprehensive collection of engineering guidelines and best practices for writing clean, maintainable JavaScript.
  • Naming Conventions - Sets standards for using meaningful and pronounceable variable names to ensure code is easy to navigate.
  • Clean Code Foundations - Provides a comprehensive collection of engineering guidelines and best practices for writing clean, maintainable JavaScript.
  • Clean Code Resources - Provides a collection of clean coding principles and engineering guidelines for writing maintainable JavaScript.
  • Promise-Based Chains - Provides a guide for replacing nested callbacks with flat promise chains and async/await patterns.
  • Abstraction Patterns - Offers strategies for creating abstractions to replace repeated logic and centralize changes.
  • Asynchronous Execution Patterns - Implements architectural patterns for managing non-blocking asynchronous execution and promise-based flows.
  • Code Refactoring Guidelines - Serves as a manual for improving JavaScript source code through industry-standard refactoring practices.
  • Control Flow Optimization - Guides the replacement of complex conditionals and type-checking with polymorphism to improve code clarity.
  • Naming Conventions - Standardizes naming patterns for code elements to make the codebase easier to navigate.
  • Functional Design Patterns - Provides engineering guidelines for defining modular, single-responsibility functions to simplify testing and composition.
  • Naming Conventions - Establishes a standard for using explicit, searchable, and pronounceable identifiers for self-documenting code.
  • SOLID Principles - Provides a reference for applying SOLID principles to reduce coupling and enable easy software extensions.
  • Single Responsibility Principles - Applies the single responsibility principle to function design by limiting parameter counts and logic scope.
  • Asynchronous Patterns - Provides patterns for using promises and async/await to replace nested callbacks for improved readability.
  • Side Effect Management - Implements strategies for isolating and controlling side effects through centralized state mutations.
  • Code Hygiene Standards - Instructs developers on removing dead code and unnecessary comments to maintain professional source code.
  • Error Handling - Defines patterns for ensuring all exceptions and promise rejections are explicitly handled to prevent silent failures.
  • Error Management - Establishes strategies for capturing and responding to errors and promise rejections to prevent silent failures.
  • Immutable Data Patterns - Implements immutable data patterns to ensure predictable state transitions and prevent side effects.
  • Object Composition Patterns - Offers guidance on building extensible structures through object composition instead of deep inheritance.
  • Object-Oriented Design Patterns - Guides the implementation of structured and extensible object hierarchies using classes and composition.
  • Polymorphism Patterns - Demonstrates how to replace complex conditional logic with polymorphic object-oriented patterns.
  • Contract and Abstraction Patterns - Provides guidelines for using interfaces and abstraction layers to decouple implementation from consumption logic.
  • Manual Refactoring Techniques - Provides a manual for removing code duplication and optimizing function design through refactoring.
  • Best Practices - Principles for writing readable and maintainable code.
  • Clean Code and Principles - Standardized clean code guidelines for JavaScript developers.
  • Code Quality - Practical examples of clean code principles in JavaScript.
  • Code Quality and Standards - Best practices for writing maintainable and readable JavaScript code.
  • JavaScript and TypeScript - Guide for writing readable and maintainable JavaScript code.
  • JavaScript Development - Best practices for writing maintainable and readable JavaScript code.
  • JavaScript Resources - Best practices for writing clean JavaScript code.
  • JavaScript Standards and Style - Best practices for clean, readable JavaScript.
  • Programming Language Standards - Software engineering principles adapted for JavaScript.
  • Career Development - Best practices for writing maintainable JavaScript code.
  • 学习与参考 - Adapts clean code concepts for JavaScript.
  • Programming Resources - Best practices for writing maintainable and clean JavaScript code.
  • Código limpio en JS - Listed in the “Código limpio en JS” section of the Frontend Developer Resources awesome list.
94,454 星标·12,458 分支·JavaScript·MIT·12 次浏览

Star 历史

ryanmcdermott/clean-code-javascript 的 Star 历史图表ryanmcdermott/clean-code-javascript 的 Star 历史图表

Clean Code Javascript 的开源替代方案

相似的开源项目,按与 Clean Code Javascript 的功能重合度排序。
  • 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
  • labs42io/clean-code-typescriptlabs42io 的头像

    labs42io/clean-code-typescript

    9,764在 GitHub 上查看↗

    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

    TypeScriptbest-practicesclean-architectureclean-code
    在 GitHub 上查看↗9,764
  • airbnb/javascriptairbnb 的头像

    airbnb/javascript

    148,081在 GitHub 上查看↗

    This project provides a comprehensive set of coding standards and style guidelines for JavaScript development. It covers fundamental language syntax, formatting conventions, and best practices for managing variables, functions, objects, and modern language features. The documentation serves as a reference for maintaining consistent code quality across projects. In addition to general language standards, the guide includes specific conventions for building and organizing user interface components. These guidelines address structural patterns, component lifecycle management, and stylistic rules

    JavaScriptarrow-functionses2015es2016
    在 GitHub 上查看↗148,081
  • getify/you-dont-know-jsgetify 的头像

    getify/You-Dont-Know-JS

    184,530在 GitHub 上查看↗

    This project is a comprehensive educational series designed to provide a deep technical understanding of the JavaScript programming language. It functions as a multi-volume curriculum that guides developers through the core mechanisms, execution models, and underlying specifications that define how the language operates at a fundamental level. The curriculum distinguishes itself by focusing on the internal architecture of the language rather than surface-level syntax. It provides rigorous analysis of complex topics such as lexical scope, closure-based state encapsulation, prototype-based inhe

    asyncbookbook-series
    在 GitHub 上查看↗184,530
查看 Clean Code Javascript 的所有 30 个替代方案→

常见问题解答

ryanmcdermott/clean-code-javascript 是做什么的?

This project is a collection of engineering guidelines and best practices for writing readable and maintainable JavaScript source code. It serves as a clean code guide and refactoring manual to help developers improve the structure of their codebases.

ryanmcdermott/clean-code-javascript 的主要功能有哪些?

ryanmcdermott/clean-code-javascript 的主要功能包括:JavaScript Implementations, Code Maintainability Principles, Naming Conventions, Clean Code Foundations, Clean Code Resources, Promise-Based Chains, Abstraction Patterns, Asynchronous Execution Patterns。

ryanmcdermott/clean-code-javascript 有哪些开源替代品?

ryanmcdermott/clean-code-javascript 的开源替代品包括: piotrplenik/clean-code-php — This project is a PHP clean code guide and software architecture reference. It provides a set of standards, naming… labs42io/clean-code-typescript — This project is a set of software engineering standards and architectural patterns for writing maintainable and… airbnb/javascript — This project provides a comprehensive set of coding standards and style guidelines for JavaScript development. It… getify/you-dont-know-js — This project is a comprehensive educational series designed to provide a deep technical understanding of the… alexeymezenin/laravel-best-practices — This project is a comprehensive guide to architectural standards and coding patterns for developing maintainable… kettanaito/naming-cheatsheet — This project is a code naming convention guide and programming style guide. It provides a language-agnostic set of…