Skip to content

docs: rewrite common-misconceptions.md to ASD-STE100 rules - #2035

Merged
elharo merged 12 commits into
masterfrom
ste100-common-misconceptions
Aug 5, 2026
Merged

docs: rewrite common-misconceptions.md to ASD-STE100 rules#2035
elharo merged 12 commits into
masterfrom
ste100-common-misconceptions

Conversation

@elharo

@elharo elharo commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Rewrite the page to ASD-STE100 Simplified Technical English.

Classification: the whole page is descriptive text.

Changes:

  • Removed banned modals ("should", "may", "would", "could"), present perfect, and "-ing" verb forms.
  • Split long sentences; every descriptive sentence is at or under 25 words.
  • Removed filler words and simplified phrasing.
  • Replaced semicolons with periods and applied American spelling.
  • Used a vertical list for the two-result summary.
  • Preserved all code blocks, identifiers, links, and the license header verbatim.

Supersedes the earlier attempt in #2031.

@elharo
elharo marked this pull request as draft August 5, 2026 13:39
@elharo elharo changed the title docs: rewrite common-misconceptions.md to STE rules docs: rewrite common-misconceptions.md to ASD-STE100 rules Aug 5, 2026
@elharo
elharo marked this pull request as ready for review August 5, 2026 14:09
@elharo
elharo requested a review from cstamas August 5, 2026 14:09

@gnodet gnodet 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.

Clean STE rewrite — all hyperlinks and code blocks preserved. Two substantive issues and two minor formatting nits below.

This review was generated by an AI agent and may contain inaccuracies. Please verify all suggestions before applying.

Claude Code on behalf of Guillaume Nodet

All fine and dandy. At the same time, you want to avoid any use of Guava. We all know Guava is a direct dependency
of Guice. This is fine, since as we know, the best practice is to declare all dependencies your code compiles
against. By not having Guava here, analysis tools will report if code touches Guava as an "undeclared dependency".
The model code does not directly use Guava. However, Guava is a direct dependency of Guice.

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.

"The model code" is not standard Maven/Java terminology. In the Maven ecosystem, "model" has a specific meaning (the POM model, org.apache.maven.model.Model), so "model code" could be misread as referring to the POM model code.

The original said "you want to avoid any use of Guava" — referring to the project's production source code. Consider:

Suggested change
The model code does not directly use Guava. However, Guava is a direct dependency of Guice.
Your project code does not directly use Guava. However, Guava is a direct dependency of Guice.

**Wrong**. As can be seen from above, for runtime graph we leave out "test" scoped
dependencies. It was true in Maven2, where test graph really was a superset of runtime,
but this does not stand anymore in Maven3. And this has interesting consequences. Let me show an example:
**Wrong**. For the runtime graph, Resolver omits the "test" scoped dependencies. This has interesting consequences. The example below shows this.

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.

The original stated: "It was true in Maven2, where test graph really was a superset of runtime, but this does not stand anymore in Maven3."

This historical context is important on a page titled "Common Misconceptions" — it explains why people hold this belief (because it was actually true in Maven 2). Without it, the section says "Wrong" but doesn't explain the origin. Consider restoring it:

Suggested change
**Wrong**. For the runtime graph, Resolver omits the "test" scoped dependencies. This has interesting consequences. The example below shows this.
**Wrong**. In Maven 2, the test graph was a superset of the runtime graph. This is no longer true in Maven 3. For the runtime graph, Resolver omits the "test" scoped dependencies. This has interesting consequences. The example below shows this.

Comment thread src/site/markdown/common-misconceptions.md Outdated

@gnodet gnodet 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.

"model code" → "src/main code" addresses the ambiguity — clearer in context. The Maven 2 historical context (explaining why the misconception exists) is still absent, but this is left to the author's discretion.

This review was generated by an AI agent and may contain inaccuracies. Please verify all suggestions before applying.

Claude Code on behalf of Guillaume Nodet

@elharo
elharo merged commit 0a5bd04 into master Aug 5, 2026
23 checks passed
@elharo
elharo deleted the ste100-common-misconceptions branch August 5, 2026 19:31
@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown

@elharo Please assign appropriate label to PR according to the type of change.

@github-actions github-actions Bot added this to the 2.0.22 milestone Aug 5, 2026
@elharo elharo added the documentation Improvements or additions to documentation label Aug 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants