Skip to content

removed em-dashes from most of the comments and texts#1130

Merged
jaytaph merged 1 commit into
gosub-io:mainfrom
jaytaph:removal
Jul 17, 2026
Merged

removed em-dashes from most of the comments and texts#1130
jaytaph merged 1 commit into
gosub-io:mainfrom
jaytaph:removal

Conversation

@jaytaph

@jaytaph jaytaph commented Jul 16, 2026

Copy link
Copy Markdown
Member

Ok, so this is currently the sad state of AI usage in projects. We/I feel that AI is a very robust tool to help us with defining problems, laying out solutions, and implement them. All under our guidance and inspection.

It works faster and results often in better code than I could personally write myself. Not because I have no clue what i'm doing (i hope i have by now), but mostly because I literally didn't think of solving some problems in a way that an LLM came up with. And sometimes, it finds ways that are too ridiculous and with some rewrites we got it back working. Most of the time, I feel like it uses the same solution i would do myself, only it's 10 times faster in producing it.

Anyhow, there are many different ways on how to use AI, and I think is very dangerous that the current mindset by too many people is that when you use AI, it must be slop. It just screams insecurity in my opinion.

So the first thing that people will check on ANY repo: is there even a miniscule trace of AI that I can detect in this repo? If so, i will not be looking any further and will scream AI-slop at the nearest forum i can find.

This is why i'm removing the em-dashes, the number one telltale on AI generated content/comments. Not because I don't approve the comments itself (i think most of them are fine, but it's a big project, and there are bound to be some spillage here and there that we should change/update), but I don't approve of the way people will NOT read the comments, but rather fall over the em-dash being present.

Without them, it might make people actually read the comments, the code, and decide for themselves if something is AI slop or not.

I don't like that this is the way we have to work at this point in time, but it is the way it is.

Summary by CodeRabbit

  • Documentation
    • Standardized punctuation, dash usage, wording, and line wrapping across project documentation and inline comments.
    • Improved clarity and consistency in explanatory notes for CSS, rendering, layout, engine, storage, and example components.
  • Refactor
    • No functional, API, parsing, rendering, layout, or runtime behavior changes.

@coderabbitai

coderabbitai Bot commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 83c0ecf7-511c-4771-bee5-f8a7ec71f1fc

📥 Commits

Reviewing files that changed from the base of the PR and between 94e3bef and 2ba3290.

📒 Files selected for processing (114)
  • bin/gosub-screenshot/main.rs
  • crates/gosub_config/src/lib.rs
  • crates/gosub_css3/examples/css_corpus_match.rs
  • crates/gosub_css3/src/colors.rs
  • crates/gosub_css3/src/functions/math.rs
  • crates/gosub_css3/src/functions/var.rs
  • crates/gosub_css3/src/matcher/property_definitions.rs
  • crates/gosub_css3/src/matcher/shorthands.rs
  • crates/gosub_css3/src/matcher/styling.rs
  • crates/gosub_css3/src/matcher/syntax.rs
  • crates/gosub_css3/src/matcher/syntax_matcher.rs
  • crates/gosub_css3/src/parser/declaration.rs
  • crates/gosub_css3/src/stylesheet.rs
  • crates/gosub_css3/src/system.rs
  • crates/gosub_css3/tools/generate_definitions/src/types.rs
  • crates/gosub_engine/src/engine/context.rs
  • crates/gosub_engine/src/engine/cookies.rs
  • crates/gosub_engine/src/engine/cookies/cookie_jar.rs
  • crates/gosub_engine/src/engine/cookies/cookies.rs
  • crates/gosub_engine/src/engine/cookies/store.rs
  • crates/gosub_engine/src/engine/cookies/tests.rs
  • crates/gosub_engine/src/engine/engine.rs
  • crates/gosub_engine/src/engine/settings_store.rs
  • crates/gosub_engine/src/engine/storage.rs
  • crates/gosub_engine/src/engine/tab/options.rs
  • crates/gosub_engine/src/engine/tab/scroll.rs
  • crates/gosub_engine/src/engine/tab/worker.rs
  • crates/gosub_engine/src/engine/zone.rs
  • crates/gosub_engine/src/html.rs
  • crates/gosub_engine/src/lib.rs
  • crates/gosub_engine/src/net/decision/sniff.rs
  • crates/gosub_fontmanager/src/cosmic_system.rs
  • crates/gosub_fontmanager/src/pango_system.rs
  • crates/gosub_fontmanager/src/parley_system.rs
  • crates/gosub_fontmanager/src/skia_system.rs
  • crates/gosub_html5/src/document/document_impl.rs
  • crates/gosub_html5/src/parser/helper.rs
  • crates/gosub_html5/src/testing/tree_construction/generator.rs
  • crates/gosub_interface/src/config.rs
  • crates/gosub_interface/src/css3.rs
  • crates/gosub_interface/src/document.rs
  • crates/gosub_interface/src/font_system.rs
  • crates/gosub_interface/src/render/backend.rs
  • crates/gosub_interface/src/render/render_list.rs
  • crates/gosub_lattice/src/bin/table_console.rs
  • crates/gosub_lattice/src/compute.rs
  • crates/gosub_lattice/src/grid.rs
  • crates/gosub_lattice/src/lib.rs
  • crates/gosub_lattice/src/mock.rs
  • crates/gosub_lattice/src/model.rs
  • crates/gosub_lattice/src/sizing/columns.rs
  • crates/gosub_lattice/src/sizing/rows.rs
  • crates/gosub_lattice/src/tests.rs
  • crates/gosub_lattice/src/types.rs
  • crates/gosub_render_pipeline/examples/pipeline_bench.rs
  • crates/gosub_render_pipeline/examples/screenshot.rs
  • crates/gosub_render_pipeline/src/common/document/inline_style.rs
  • crates/gosub_render_pipeline/src/common/document/node.rs
  • crates/gosub_render_pipeline/src/common/document/pipeline_doc.rs
  • crates/gosub_render_pipeline/src/common/document/style.rs
  • crates/gosub_render_pipeline/src/common/font/parley.rs
  • crates/gosub_render_pipeline/src/common/media/decoder.rs
  • crates/gosub_render_pipeline/src/common/media/decoder/svg.rs
  • crates/gosub_render_pipeline/src/common/media/media_store.rs
  • crates/gosub_render_pipeline/src/common/media/svg.rs
  • crates/gosub_render_pipeline/src/layering/layer.rs
  • crates/gosub_render_pipeline/src/layouter.rs
  • crates/gosub_render_pipeline/src/layouter/css_taffy_converter.rs
  • crates/gosub_render_pipeline/src/layouter/inline_run.rs
  • crates/gosub_render_pipeline/src/layouter/table.rs
  • crates/gosub_render_pipeline/src/layouter/taffy.rs
  • crates/gosub_render_pipeline/src/painter.rs
  • crates/gosub_render_pipeline/src/painter/commands.rs
  • crates/gosub_render_pipeline/src/painter/commands/text.rs
  • crates/gosub_render_pipeline/src/rasterizer.rs
  • crates/gosub_render_pipeline/src/render/tile_composite.rs
  • crates/gosub_render_pipeline/src/rendertree_builder/tree.rs
  • crates/gosub_render_pipeline/src/tiler.rs
  • crates/gosub_renderer_cairo/src/backend.rs
  • crates/gosub_renderer_cairo/src/lib.rs
  • crates/gosub_renderer_cairo/src/rasterizer.rs
  • crates/gosub_renderer_cairo/src/rasterizer/svg.rs
  • crates/gosub_renderer_cairo/src/rasterizer/text/glyphs.rs
  • crates/gosub_renderer_dynamic/src/lib.rs
  • crates/gosub_renderer_skia/src/backend.rs
  • crates/gosub_renderer_skia/src/rasterizer.rs
  • crates/gosub_renderer_skia/src/rasterizer/svg.rs
  • crates/gosub_renderer_skia/src/rasterizer/text/glyphs.rs
  • crates/gosub_renderer_vello/src/backend.rs
  • crates/gosub_renderer_vello/src/backend/text_renderer.rs
  • crates/gosub_renderer_vello/src/gpu_tiles.rs
  • crates/gosub_renderer_vello/src/rasterizer.rs
  • crates/gosub_renderer_vello/src/rasterizer/brush.rs
  • crates/gosub_renderer_vello/src/rasterizer/svg.rs
  • crates/gosub_renderer_vello/src/rasterizer/text/glyphs.rs
  • crates/gosub_shared/src/animation.rs
  • crates/gosub_shared/src/async_executor.rs
  • crates/gosub_shared/src/byte_stream.rs
  • crates/gosub_shared/src/timing.rs
  • crates/gosub_web_platform/src/lib.rs
  • crates/gosub_winit/src/lib.rs
  • examples/egui-cairo/main.rs
  • examples/egui-skia/main.rs
  • examples/egui-vello/main.rs
  • examples/gtk4-cairo/main.rs
  • examples/gtk4-skia/main.rs
  • examples/hello-world.rs
  • examples/metrics_cli.rs
  • examples/pipeline-test.rs
  • examples/tutorial.rs
  • examples/winit-cairo/main.rs
  • examples/winit-skia-gpu/main.rs
  • examples/winit-skia/main.rs
  • examples/winit-vello/main.rs
🚧 Files skipped from review as they are similar to previous changes (94)
  • crates/gosub_renderer_vello/src/rasterizer/svg.rs
  • crates/gosub_html5/src/testing/tree_construction/generator.rs
  • crates/gosub_engine/src/html.rs
  • crates/gosub_render_pipeline/examples/screenshot.rs
  • crates/gosub_css3/tools/generate_definitions/src/types.rs
  • bin/gosub-screenshot/main.rs
  • crates/gosub_renderer_cairo/src/lib.rs
  • crates/gosub_render_pipeline/src/rendertree_builder/tree.rs
  • examples/tutorial.rs
  • crates/gosub_interface/src/config.rs
  • crates/gosub_css3/examples/css_corpus_match.rs
  • examples/egui-cairo/main.rs
  • crates/gosub_lattice/src/lib.rs
  • crates/gosub_engine/src/engine/zone.rs
  • crates/gosub_render_pipeline/src/common/font/parley.rs
  • crates/gosub_renderer_vello/src/rasterizer.rs
  • crates/gosub_render_pipeline/src/tiler.rs
  • examples/egui-skia/main.rs
  • crates/gosub_lattice/src/sizing/rows.rs
  • crates/gosub_css3/src/matcher/styling.rs
  • crates/gosub_engine/src/engine/cookies/store.rs
  • crates/gosub_render_pipeline/src/common/media/svg.rs
  • crates/gosub_render_pipeline/src/common/document/inline_style.rs
  • crates/gosub_css3/src/matcher/syntax.rs
  • crates/gosub_renderer_skia/src/rasterizer.rs
  • crates/gosub_renderer_skia/src/backend.rs
  • crates/gosub_render_pipeline/src/layering/layer.rs
  • crates/gosub_fontmanager/src/cosmic_system.rs
  • crates/gosub_renderer_cairo/src/rasterizer/svg.rs
  • crates/gosub_renderer_dynamic/src/lib.rs
  • crates/gosub_render_pipeline/src/render/tile_composite.rs
  • crates/gosub_renderer_cairo/src/backend.rs
  • crates/gosub_shared/src/timing.rs
  • crates/gosub_engine/src/engine/storage.rs
  • crates/gosub_renderer_vello/src/gpu_tiles.rs
  • crates/gosub_web_platform/src/lib.rs
  • crates/gosub_lattice/src/model.rs
  • crates/gosub_renderer_vello/src/rasterizer/text/glyphs.rs
  • crates/gosub_html5/src/parser/helper.rs
  • examples/winit-vello/main.rs
  • crates/gosub_renderer_skia/src/rasterizer/text/glyphs.rs
  • crates/gosub_engine/src/engine/cookies/tests.rs
  • crates/gosub_fontmanager/src/pango_system.rs
  • crates/gosub_interface/src/document.rs
  • crates/gosub_css3/src/system.rs
  • crates/gosub_interface/src/font_system.rs
  • crates/gosub_lattice/src/tests.rs
  • crates/gosub_shared/src/byte_stream.rs
  • crates/gosub_css3/src/parser/declaration.rs
  • crates/gosub_fontmanager/src/skia_system.rs
  • crates/gosub_engine/src/engine/tab/options.rs
  • crates/gosub_css3/src/matcher/shorthands.rs
  • crates/gosub_html5/src/document/document_impl.rs
  • crates/gosub_config/src/lib.rs
  • crates/gosub_engine/src/engine/engine.rs
  • crates/gosub_css3/src/functions/var.rs
  • examples/winit-cairo/main.rs
  • crates/gosub_render_pipeline/src/common/media/decoder.rs
  • crates/gosub_engine/src/engine/settings_store.rs
  • crates/gosub_css3/src/stylesheet.rs
  • examples/egui-vello/main.rs
  • crates/gosub_renderer_skia/src/rasterizer/svg.rs
  • crates/gosub_engine/src/engine/cookies.rs
  • crates/gosub_render_pipeline/src/layouter/table.rs
  • crates/gosub_engine/src/lib.rs
  • crates/gosub_render_pipeline/examples/pipeline_bench.rs
  • crates/gosub_css3/src/functions/math.rs
  • crates/gosub_render_pipeline/src/layouter.rs
  • crates/gosub_interface/src/render/render_list.rs
  • crates/gosub_engine/src/engine/tab/scroll.rs
  • crates/gosub_render_pipeline/src/painter.rs
  • crates/gosub_render_pipeline/src/layouter/css_taffy_converter.rs
  • crates/gosub_lattice/src/sizing/columns.rs
  • crates/gosub_lattice/src/types.rs
  • crates/gosub_render_pipeline/src/common/media/media_store.rs
  • crates/gosub_renderer_cairo/src/rasterizer.rs
  • crates/gosub_engine/src/engine/tab/worker.rs
  • examples/metrics_cli.rs
  • examples/gtk4-skia/main.rs
  • crates/gosub_render_pipeline/src/common/document/node.rs
  • examples/winit-skia-gpu/main.rs
  • crates/gosub_lattice/src/grid.rs
  • crates/gosub_render_pipeline/src/layouter/inline_run.rs
  • crates/gosub_lattice/src/mock.rs
  • crates/gosub_shared/src/animation.rs
  • examples/gtk4-cairo/main.rs
  • crates/gosub_winit/src/lib.rs
  • crates/gosub_interface/src/render/backend.rs
  • crates/gosub_render_pipeline/src/layouter/taffy.rs
  • crates/gosub_render_pipeline/src/common/document/style.rs
  • crates/gosub_render_pipeline/src/common/document/pipeline_doc.rs
  • crates/gosub_css3/src/matcher/property_definitions.rs
  • examples/hello-world.rs
  • crates/gosub_lattice/src/bin/table_console.rs

📝 Walkthrough

Walkthrough

This PR standardizes comment and documentation punctuation, wording, and line wrapping across the Rust workspace. It does not change executable logic, control flow, public APIs, test assertions, or runtime behavior.

Changes

Documentation normalization

Layer / File(s) Summary
Workspace-wide comment normalization
bin/*, crates/*, examples/*
Rustdoc, inline comments, test descriptions, and example annotations replace typographic dashes, adjust wording, and reflow lines while preserving code behavior and documented concepts.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Possibly related PRs

Suggested reviewers: sharktheone

Poem

A rabbit hops through docs so bright,
Swapping long dashes left and right.
Comments bloom with tidy grace,
Hyphens bound across the place.
No code changed beneath the moon—
Just cleaner prose, a carrot tune!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main change: replacing em-dashes in comments and text throughout the codebase.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@crates/gosub_html5/src/tokenizer/replacement_tables.rs`:
- Line 57: Update the comment labeling the U+2014 mapping in the replacement
table to accurately identify it as an em dash, using “EM DASH (U+2014)” or “EM
DASH” instead of the hyphen-minus notation.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 22a9959e-0781-4563-91a5-40796890097b

📥 Commits

Reviewing files that changed from the base of the PR and between c746ec5 and 94e3bef.

📒 Files selected for processing (115)
  • bin/gosub-screenshot/main.rs
  • crates/gosub_config/src/lib.rs
  • crates/gosub_css3/examples/css_corpus_match.rs
  • crates/gosub_css3/src/colors.rs
  • crates/gosub_css3/src/functions/math.rs
  • crates/gosub_css3/src/functions/var.rs
  • crates/gosub_css3/src/matcher/property_definitions.rs
  • crates/gosub_css3/src/matcher/shorthands.rs
  • crates/gosub_css3/src/matcher/styling.rs
  • crates/gosub_css3/src/matcher/syntax.rs
  • crates/gosub_css3/src/matcher/syntax_matcher.rs
  • crates/gosub_css3/src/parser/declaration.rs
  • crates/gosub_css3/src/stylesheet.rs
  • crates/gosub_css3/src/system.rs
  • crates/gosub_css3/tools/generate_definitions/src/types.rs
  • crates/gosub_engine/src/engine/context.rs
  • crates/gosub_engine/src/engine/cookies.rs
  • crates/gosub_engine/src/engine/cookies/cookie_jar.rs
  • crates/gosub_engine/src/engine/cookies/cookies.rs
  • crates/gosub_engine/src/engine/cookies/store.rs
  • crates/gosub_engine/src/engine/cookies/tests.rs
  • crates/gosub_engine/src/engine/engine.rs
  • crates/gosub_engine/src/engine/settings_store.rs
  • crates/gosub_engine/src/engine/storage.rs
  • crates/gosub_engine/src/engine/tab/options.rs
  • crates/gosub_engine/src/engine/tab/scroll.rs
  • crates/gosub_engine/src/engine/tab/worker.rs
  • crates/gosub_engine/src/engine/zone.rs
  • crates/gosub_engine/src/html.rs
  • crates/gosub_engine/src/lib.rs
  • crates/gosub_engine/src/net/decision/sniff.rs
  • crates/gosub_fontmanager/src/cosmic_system.rs
  • crates/gosub_fontmanager/src/pango_system.rs
  • crates/gosub_fontmanager/src/parley_system.rs
  • crates/gosub_fontmanager/src/skia_system.rs
  • crates/gosub_html5/src/document/document_impl.rs
  • crates/gosub_html5/src/parser/helper.rs
  • crates/gosub_html5/src/testing/tree_construction/generator.rs
  • crates/gosub_html5/src/tokenizer/replacement_tables.rs
  • crates/gosub_interface/src/config.rs
  • crates/gosub_interface/src/css3.rs
  • crates/gosub_interface/src/document.rs
  • crates/gosub_interface/src/font_system.rs
  • crates/gosub_interface/src/render/backend.rs
  • crates/gosub_interface/src/render/render_list.rs
  • crates/gosub_lattice/src/bin/table_console.rs
  • crates/gosub_lattice/src/compute.rs
  • crates/gosub_lattice/src/grid.rs
  • crates/gosub_lattice/src/lib.rs
  • crates/gosub_lattice/src/mock.rs
  • crates/gosub_lattice/src/model.rs
  • crates/gosub_lattice/src/sizing/columns.rs
  • crates/gosub_lattice/src/sizing/rows.rs
  • crates/gosub_lattice/src/tests.rs
  • crates/gosub_lattice/src/types.rs
  • crates/gosub_render_pipeline/examples/pipeline_bench.rs
  • crates/gosub_render_pipeline/examples/screenshot.rs
  • crates/gosub_render_pipeline/src/common/document/inline_style.rs
  • crates/gosub_render_pipeline/src/common/document/node.rs
  • crates/gosub_render_pipeline/src/common/document/pipeline_doc.rs
  • crates/gosub_render_pipeline/src/common/document/style.rs
  • crates/gosub_render_pipeline/src/common/font/parley.rs
  • crates/gosub_render_pipeline/src/common/media/decoder.rs
  • crates/gosub_render_pipeline/src/common/media/decoder/svg.rs
  • crates/gosub_render_pipeline/src/common/media/media_store.rs
  • crates/gosub_render_pipeline/src/common/media/svg.rs
  • crates/gosub_render_pipeline/src/layering/layer.rs
  • crates/gosub_render_pipeline/src/layouter.rs
  • crates/gosub_render_pipeline/src/layouter/css_taffy_converter.rs
  • crates/gosub_render_pipeline/src/layouter/inline_run.rs
  • crates/gosub_render_pipeline/src/layouter/table.rs
  • crates/gosub_render_pipeline/src/layouter/taffy.rs
  • crates/gosub_render_pipeline/src/painter.rs
  • crates/gosub_render_pipeline/src/painter/commands.rs
  • crates/gosub_render_pipeline/src/painter/commands/text.rs
  • crates/gosub_render_pipeline/src/rasterizer.rs
  • crates/gosub_render_pipeline/src/render/tile_composite.rs
  • crates/gosub_render_pipeline/src/rendertree_builder/tree.rs
  • crates/gosub_render_pipeline/src/tiler.rs
  • crates/gosub_renderer_cairo/src/backend.rs
  • crates/gosub_renderer_cairo/src/lib.rs
  • crates/gosub_renderer_cairo/src/rasterizer.rs
  • crates/gosub_renderer_cairo/src/rasterizer/svg.rs
  • crates/gosub_renderer_cairo/src/rasterizer/text/glyphs.rs
  • crates/gosub_renderer_dynamic/src/lib.rs
  • crates/gosub_renderer_skia/src/backend.rs
  • crates/gosub_renderer_skia/src/rasterizer.rs
  • crates/gosub_renderer_skia/src/rasterizer/svg.rs
  • crates/gosub_renderer_skia/src/rasterizer/text/glyphs.rs
  • crates/gosub_renderer_vello/src/backend.rs
  • crates/gosub_renderer_vello/src/backend/text_renderer.rs
  • crates/gosub_renderer_vello/src/gpu_tiles.rs
  • crates/gosub_renderer_vello/src/rasterizer.rs
  • crates/gosub_renderer_vello/src/rasterizer/brush.rs
  • crates/gosub_renderer_vello/src/rasterizer/svg.rs
  • crates/gosub_renderer_vello/src/rasterizer/text/glyphs.rs
  • crates/gosub_shared/src/animation.rs
  • crates/gosub_shared/src/async_executor.rs
  • crates/gosub_shared/src/byte_stream.rs
  • crates/gosub_shared/src/timing.rs
  • crates/gosub_web_platform/src/lib.rs
  • crates/gosub_winit/src/lib.rs
  • examples/egui-cairo/main.rs
  • examples/egui-skia/main.rs
  • examples/egui-vello/main.rs
  • examples/gtk4-cairo/main.rs
  • examples/gtk4-skia/main.rs
  • examples/hello-world.rs
  • examples/metrics_cli.rs
  • examples/pipeline-test.rs
  • examples/tutorial.rs
  • examples/winit-cairo/main.rs
  • examples/winit-skia-gpu/main.rs
  • examples/winit-skia/main.rs
  • examples/winit-vello/main.rs

// EN DASH (–)
0x96_u32 => '\u{2013}',
// EM DASH ()
// EM DASH (-)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win

Keep the character name accurate.

The mapped value is U+2014, but - denotes a hyphen-minus (U+002D), not an em dash. Use // EM DASH (U+2014) or simply // EM DASH instead.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@crates/gosub_html5/src/tokenizer/replacement_tables.rs` at line 57, Update
the comment labeling the U+2014 mapping in the replacement table to accurately
identify it as an em dash, using “EM DASH (U+2014)” or “EM DASH” instead of the
hyphen-minus notation.

Ok, so this is currently the sad state of AI usage in projects. We/I
feel that AI is a very robust tool to help us with defining problems,
laying out solutions, and implement them. All under our guidance and
inspection.

It works faster and results often in better code than I could personally
write myself. Not because I have no clue what i'm doing (i hope i have
by now), but mostly because I literally didn't think of solving some
problems in a way that an LLM came up with. And sometimes, it finds ways
that are too ridiculous and with some rewrites we got it back working.
Most of the time, I feel like it uses the same solution i would do
myself, only it's 10 times faster in producing it.

Anyhow, there are many different ways on how to use AI, and I think is
very dangerous that the current mindset by too many people is that when
you use AI, it must be slop. It just screams insecurity in my opinion.

So the first thing that people will check on ANY repo: is there even a
miniscule trace of AI that I can detect in this repo? If so, i will not
be looking any further and will scream AI-slop at the nearest forum i
can find.

This is why i'm removing the em-dashes, the number one telltale on AI
generated content/comments. Not because I don't approve the comments
itself (i think most of them are fine, but it's a big project, and there
are bound to be some spillage here and there that we should
change/update), but I don't approve of the way people will NOT read the
comments, but rather fall over the em-dash being present.

Without them, it might make people actually read the comments, the code,
and decide for themselves if something is AI slop or not.

I don't like that this is the way we have to work at this point in time,
but it is the way it is.
@jaytaph
jaytaph merged commit e1f6a82 into gosub-io:main Jul 17, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant