Hacker ApprovedDepartments

OpenRewrite

Tied for most recommended of 3 code transformation tools

Free tool that rewrites source code to modernize it while staying close to the surrounding code. Common caveat: build plugins keep everything in memory and reparse on each change.

Free tool that rewrites source code to modernize it while staying close to the surrounding code. Common caveat: build plugins keep everything in memory and reparse on each change.

8 people gave an opinion

recommend it
7
criticize it
1
approval share
88%
Each figure is one person. RecommendsCriticizes

Recommended in 3 of 13 months

  1. November 2025: not recommended
  2. December 2025: not recommended
  3. January 2026: not recommended
  4. February 2026: recommended
  5. March 2026: recommended
  6. April 2026: not recommended
  7. May 2026: not recommended
  8. June 2026: not recommended
  9. July 2026: not recommended
  10. August 2026: not recommended
  11. September 2026: not recommended
  12. October 2026: recommended
  13. November 2026: not recommended (month in progress)

Why it doesn’t carry the badge

  • 7 people recommend itNeeds 10 or more, not met.
  • 7 recommenders for every criticNeeds 2 to 1 or better, met.
  • Recommended in 3 of 13 monthsNeeds 4 or more, not met.

The same three rules apply to every product, and the badge can’t be bought. How the badge works

What people say about it

The reasons people give, with the number of comments that give each one. Open a reason to read what they said.

Why people recommend it

Each mark is one comment

  • Modernizes code, keeps surrounding code intact

    “it produced the best results for code transformations with the highest fidelity to the surrounding code”

    Comment from 12 Feb 2026 in “Improving 15 LLMs at Coding in One Afternoon. Only the Harness Changed”

    “tooling that can modify your source code to make it more modern is really cool stuff”

    Comment from 17 Feb 2026 in “Using go fix to modernize Go code”

What people warn about

Each mark is one comment

  • Build plugins reparse everything on change

    “OpenRewrite's build plugins, on the other hand, store everything in memory and need to be reparsed every time there is a change.”

    Comment from 21 Feb 2026 in “Coccinelle: The Linux kernel's source-to-source transformation tool”

Other code transformation tools people recommend

The two most recommended other code transformation tools, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.

OpenRewrite compared with 2 alternatives
ProductRecommendCriticizeApprovalMonthsOwnedBadge
OpenRewriteThis page7188%3——
Coccinelle70100%3——
go fix7278%2——
See all 3 code transformation tools, ranked

What people said

All 8 comments that mention it, newest first. Each links to the original comment.

“Trying to get something running with openRewrite at work.”

CriticizesComment from 17 Oct 2026 in “Recipes Are Moving from Maven Central to the Code Genome Project”

“Had the same experience with the OpenRewrite lately.”

RecommendsComment from 7 Oct 2026 in “OpenSSH 10.6”

“for polyrepo setups, openrewrite is great.”

RecommendsComment from 22 Mar 2026 in “If AI brings 90% productivity gains, do you fire devs or build better products?”

“OpenRewrite's build plugins, on the other hand, store everything in memory and need to be reparsed every time there is a change.”

MixedComment from 21 Feb 2026 in “Coccinelle: The Linux kernel's source-to-source transformation tool”

“tooling that can modify your source code to make it more modern is really cool stuff”

RecommendsComment from 17 Feb 2026 in “Using go fix to modernize Go code”

“it produced the best results for code transformations with the highest fidelity to the surrounding code”

RecommendsComment from 12 Feb 2026 in “Improving 15 LLMs at Coding in One Afternoon. Only the Harness Changed”

“It should be a great tool for agents.”

RecommendsComment from 2 Feb 2026 in “Ratchets in Software Development”

“I think this could be handled by an open rewrite rule”

RecommendsComment from 2 Feb 2026 in “Ratchets in Software Development”

Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.