Hacker ApprovedDepartments

Sam text editor

Shares rank 47 of 56 text editors by recommenders

Fans of Rob Pike's editor praise its elegant design and structural regular expressions; no critical comments were recorded.

Fans of Rob Pike's editor praise its elegant design and structural regular expressions; no critical comments were recorded.

5 people gave an opinion

recommend it
5
criticize it
0
approval share
100%
Each figure is one person. RecommendsCriticizes

Recommended in 4 of 13 months

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

Why it doesn’t carry the badge

  • 5 people recommend itNeeds 10 or more, not met.
  • Nobody criticizes itNeeds 2 to 1 or better, met.
  • Recommended in 4 of 13 monthsNeeds 4 or more, 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

  • Admirers find it elegant and lovable

    “I'm starting to truly love sam”

    Comment from 24 Mar 2026 in “Sed, a powerfull mini-language from the 70s”

    “far more elegant to my taste”

    Comment from 23 Mar 2026 in “Sed, a powerfull mini-language from the 70s”

Other text editors people recommend

The four most recommended other text editors, 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.

Sam text editor compared with 4 alternatives
ProductRecommendCriticizeApprovalMonthsOwnedBadge
Zed70043062%136 mo57 owners—
GNU Emacs64820776%1320 yrs158 ownersApproved
Vim51312780%1320 yrs55 ownersApproved
Visual Studio Code48554747%122 yrs13 owners—
Sam text editorThis page50100%4——
See all 56 text editors, ranked

What people said

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

“I have used both editors quite a bit and did like both of them.”

RecommendsComment from 2 Sep 2026 in “Fine, I'll build my own text editor”

“Only need ~650 tokens of system prompt for it to work. It's pretty stellar.”

RecommendsComment from 4 Jul 2026 in “Better Models: Worse Tools”

“it can solve complex tasks more simply by just running it a few times”

RecommendsComment from 24 Mar 2026 in “Sed, a powerfull mini-language from the 70s”

“I'm starting to truly love sam”

RecommendsComment from 24 Mar 2026 in “Sed, a powerfull mini-language from the 70s”

“far more elegant to my taste”

RecommendsComment from 23 Mar 2026 in “Sed, a powerfull mini-language from the 70s”

“Rob Pike's "Structural Regular Expressions", the kind implemented in the Sam text editor, would also have eased finding the problem raw text.”

RecommendsComment from 20 Dec 2025 in “Regular expressions that cross lines”

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