# trekhleb/state-of-the-art-shitcode

💩State-of-the-art shitcode principles your project should follow to call it a proper shitcode

Repository: https://github.com/trekhleb/state-of-the-art-shitcode
Canonical: https://ross.abutalabs.com/products/state-of-the-art-shitcode
License: MIT
License Family: permissive
Topics: best-practices, best-practice, styleguide, style-guides, principles, coding, code-quality, javascript, programming
Last push: 2025-11-23T04:24:59+00:00

## Health v2 (maintenance only)
Score: 56/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 53, release rhythm 35, longevity 100
- inputs: {"age_days": 2410, "days_push": 283, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6193, forks 334 (observed 2026-08-28T04:09:39.581529+00:00)

## What it is
A satirical list of 'state-of-the-art shitcode' principles that humorously teaches bad coding practices to highlight what to avoid. It serves as an inverted style guide for writing clean, maintainable code.

## Use cases
- learn what bad coding practices to avoid
- find a fun way to teach code quality to a team
- get a satirical style guide for code reviews
- understand common anti-patterns in JavaScript
- share humorous coding principles with developers

## When to choose
- you want a humorous, memorable way to teach coding best practices
- you need examples of anti-patterns to avoid in code reviews
- you're looking for a lighthearted style guide to share with a team

## When to avoid
- you need a serious, actionable coding standard to enforce
- you want linting rules or automated style enforcement
- you need production tooling rather than educational content

## Facets
- artifact type: learning-resource
- maturity: active
- function: developer-tools, documentation
- domain: developer-tools, tutorials, awesome-lists
- platform: cross-platform
- tags: satire, code-quality, anti-patterns, styleguide, humor, best-practices

## Member repositories
- trekhleb/state-of-the-art-shitcode (main) score 56

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:39.581529+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:47:21.828258+00:00, confidence not recorded.
  - readme: https://github.com/trekhleb/state-of-the-art-shitcode (fetched 2026-08-28T04:09:39.581529+00:00, sha 8120b998e7dd)
- Data as of 2026-08-30T08:39:29.467469+00:00.
