Hacker News new | past | comments | ask | show | jobs | submit login
Refactoring with Codemods to Automate API Changes (martinfowler.com)
17 points by teivah 6 days ago | hide | past | favorite | 5 comments





https://github.com/getgrit/gritql is the best large-scale codemod / refactoring tool I've ever used.

It's finicky and picky, very dependent on the tree sitter grammar but when it works, it's magical.

Have you found any tools you think are easier/better? I’d love to learn more about the space.

Nope, I'd say it's the best :)

From "Show HN: Codemodder – A new codemod library for Java and Python" (2024) https://news.ycombinator.com/item?id=39111747 :

> [ codemodder-python, libCST, MOSES and Holman's elegant normal form, singnet/asmoses, Formal Verification, ]




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: