Skip to content

refactor: cut inline comments in favor of tests#91

Merged
KyleJune merged 1 commit into
mainfrom
chore/reduce-inline-comments
Jun 14, 2026
Merged

refactor: cut inline comments in favor of tests#91
KyleJune merged 1 commit into
mainfrom
chore/reduce-inline-comments

Conversation

@KyleJune

Copy link
Copy Markdown
Member

Summary

Reduce inline code comments by ~78% (286 → 62) across src, templates,
example, and tutorials. Inline comments drift silently as code changes;
behavior is documented by tests (named for the rule they pin) and user-facing
JSDoc instead.

Changes

  • Remove narration/edge-case/label comments across the framework source,
    scaffolding templates, the demo app, and tutorials
  • Keep functional directives (deno-lint-ignore, @ts-expect-error) and a small set
    of one-line load-bearing notes (framework/runtime gotchas)

Testing

deno task check clean; deno task test → 19 passed, 0 failed. Diff verified
comment-only — no behavioral code changes.

Reduce inline comments ~78% (286 -> 62) across src, templates, example,
and tutorials. Behavior is documented by tests and user-facing JSDoc
instead of narration that drifts as code changes.

Kept: functional directives (deno-lint-ignore, @ts-expect-error) and a few
one-line load-bearing notes (framework/runtime gotchas).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@KyleJune KyleJune merged commit 84e2353 into main Jun 14, 2026
10 checks passed
@KyleJune KyleJune deleted the chore/reduce-inline-comments branch June 14, 2026 00:00
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 0.8.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant