Hacker ApprovedDepartments

go fix

Tied for most recommended of 3 code transformation tools

Built into Go, it rewrites code using type-aware rules, letting library authors move users off deprecated functions. Critics warn it can break program semantics.

Built into Go, it rewrites code using type-aware rules, letting library authors move users off deprecated functions. Critics warn it can break program semantics.

9 people gave an opinion

recommend it
7
criticize it
2
approval share
78%
Each figure is one person. RecommendsCriticizes

Recommended in 2 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: not recommended
  6. April 2026: not recommended
  7. May 2026: not recommended
  8. June 2026: not recommended
  9. July 2026: not recommended
  10. August 2026: recommended
  11. September 2026: not recommended
  12. October 2026: not 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.
  • 3.5 recommenders for every criticNeeds 2 to 1 or better, met.
  • Recommended in 2 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

  • Built into Go, no plugins needed

    “callable from the command line (which means it can integrate with CI/CD or AI tools) and like I mentioned, the fact this is built into Go itself”

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

    “the stdlib toolchain does a lot that other ecosystems need third-party plugins for”

    Comment from 17 Feb 2026 in “Using go fix to modernize Go code”
  • Good tooling makes Go pleasant

    “Its tooling like this that really makes golang an excellent language to work with”

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

    “This tool is way cooler, post-redesign.”

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

What people warn about

Each mark is one comment

  • Risk of changing program semantics

    “Because it is hard to know whether or not the handle function is called in a deferred call.”

    Comment from 15 Mar 2026 in “//go:fix inline and the source-level inliner”

    “illustrating go1.26.1 go fix source inline transformation breaking program semantics”

    Comment from 15 Mar 2026 in “//go:fix inline and the source-level inliner”

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.

go fix compared with 2 alternatives
ProductRecommendCriticizeApprovalMonthsOwnedBadge
go fixThis page7278%2——
OpenRewrite7188%3——
Coccinelle70100%3——
See all 3 code transformation tools, ranked

What people said

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

“such a nice thing for big projects”

RecommendsComment from 20 Aug 2026 in “Go 1.27 Is Released”

“Because it is hard to know whether or not the handle function is called in a deferred call.”

CriticizesComment from 15 Mar 2026 in “//go:fix inline and the source-level inliner”

“illustrating go1.26.1 go fix source inline transformation breaking program semantics”

CriticizesComment from 15 Mar 2026 in “//go:fix inline and the source-level inliner”

“That ends up being a really powerful primitive for library authors to get users off of deprecated functions”

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

“What’s new, however, is the framework that allows home-grown add ons, which doesn’t have to do everything from scratch.”

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

“callable from the command line (which means it can integrate with CI/CD or AI tools) and like I mentioned, the fact this is built into Go itself”

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

“the stdlib toolchain does a lot that other ecosystems need third-party plugins for”

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

“Having an AST-aware rewriter that understands Go's type system is a massive upgrade over regex hacks.”

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

“This tool is way cooler, post-redesign.”

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

“Its tooling like this that really makes golang an excellent language to work with”

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

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