Worked Claim only
A 2,500-line PowerShell script rewritten by Claude Opus
An HN comment about a large script rewrite that another tool had struggled with.
—
Credits
- HN commenter nerdsniper Source ↗
Earliest dated source:
The full story
A Hacker News commenter had Claude Opus 4 rewrite a 2,500-line PowerShell script for embedded automation into Python, after other tools had struggled. It did a solid job with a few bugs, which cheaper models then cleaned up. They still find general refactoring hard, such as splitting the result into sensible modules without spelling out the structure.
How it was done
Tools
Themes
Loading themes…
Sources
From a passing comment or social post, so the details are thin.
- Hacker News: Claude Code 4o struggle with this for me, but I had Claude Opus 4 rewrite a 2,500 line powershell scHN commenter: nerdsniperPosted
The comment.