Alex Bit (@alex__bit) 's Twitter Profile
Alex Bit

@alex__bit

love people & solving hard technical problems. forward-looking. systems thinker. building @Codemod to automate code migrations for all. ex @Meta.

ID: 51467355

linkhttp://codemod.com calendar_today27-06-2009 15:30:42

1,1K Tweet

959 Followers

2,2K Following

Herrington Darkholme (@hd_nvim) 's Twitter Profile Photo

ast-grep 0.39 released! Notable change * New langs: nix & solidity * Esquery style kind rule, e.g. 'call_expression > identifier' will find function caller

ast-grep 0.39 released! Notable change
* New langs: nix & solidity 
* Esquery style kind rule, e.g.
'call_expression > identifier' will find function caller
Herrington Darkholme (@hd_nvim) 's Twitter Profile Photo

#ast_grep_trick ast-grep's rule is heavily inspired by CSS selectors. The rule `identifier` node is `inside` the node `call_expression` is something similar to `call_expression > identifier`

#ast_grep_trick ast-grep's rule is heavily inspired by CSS selectors.  The rule `identifier` node is `inside`  the node `call_expression` is something similar to  `call_expression > identifier`
Herrington Darkholme (@hd_nvim) 's Twitter Profile Photo

#ast_grep_trick If you are using a shell, you can write a rule with PLACEHOLDER and fill in values by process substitution. 𝐚𝐬𝐭-𝐠𝐫𝐞𝐩 𝐬𝐜𝐚𝐧 -𝐫 <(𝐬𝐞𝐝 '𝐬/𝐩π₯𝐚𝐜𝐞𝐑𝐨π₯𝐝𝐞𝐫/𝐯𝐚𝐫/𝐠' 𝐭𝐞𝐦𝐩π₯𝐚𝐭𝐞.𝐲𝐦π₯) It can make ast-grep rule dynamic and parameterized!

#ast_grep_trick If you are using a shell, you can write a rule with PLACEHOLDER and fill in values by process substitution.

𝐚𝐬𝐭-𝐠𝐫𝐞𝐩 𝐬𝐜𝐚𝐧 -𝐫 &lt;(𝐬𝐞𝐝 '𝐬/𝐩π₯𝐚𝐜𝐞𝐑𝐨π₯𝐝𝐞𝐫/𝐯𝐚𝐫/𝐠' 𝐭𝐞𝐦𝐩π₯𝐚𝐭𝐞.𝐲𝐦π₯)

It can make ast-grep rule dynamic and parameterized!
Nasser Ghanemzadeh (@ghanemzadeh) 's Twitter Profile Photo

کُد Ω…Ψ§Ψ― ΩΎΩ„Ψͺβ€ŒΩΨ±Ω… Ω‡ΩˆΨ΄ Ω…Ψ΅Ω†ΩˆΨΉΫŒ برای ΨͺΨ¨Ψ―ΫŒΩ„ Ϊ©Ψ― Ψ―Ψ± Ψ³Ψ§Ψ²Ω…Ψ§Ω† Ω‡Ψ§ΫŒ Ψ¨Ψ²Ψ±Ϊ― Ψ¨Ψ§ ΨΉΩ„ΫŒΨ±ΨΆΨ§ Ψ¨ΫŒβ€ŒΨ·Ψ±Ω (Alex Bit) Alex Bit Ω…Ψ―ΫŒΨ± Ω…Ω…ΨͺΨ§Ψ² | The Great CEO

Alex Bit (@alex__bit) 's Twitter Profile Photo

Big update just landed on codemod.studio! Smarter AI. Multi-file, multi-step workflows. More powerful codemods (supports both JS ast-grep and YAML rules). Early adopters! DM me if you're down to try it out and share some honest feedback. πŸ™πŸΌβ€οΈπŸ»

Alex Bit (@alex__bit) 's Twitter Profile Photo

Matteo Collina Node.js I whipped up an ast-grep rule with Codemod AI to catch this setImmediate() anti-pattern in Node.js apps: app.codemod.com/studio?share_i… hopefully it serves as a good starting point for spotting this kind of issue. thanks for the PSA Matteo Collina!

Matteo Collina (@matteocollina) 's Twitter Profile Photo

Node.js Node.js v24 πŸ†š v22 performance gains: Baseline: +1.5% AsyncLocalStorage: +5.0% 🎯 Fastify + Full OTel: +7.1% Selective OTel: +2.6% Node v24's AsyncLocalStorage optimizations (thanks @DatadogHQ!) are real.

Jan Amann (@jamannnnnn) 's Twitter Profile Photo

🌐 learn.next-intl.dev is officially live! Learn how to build delightful, multilingual apps with Next.jsβ€”from the basics to advanced patterns, all through a real-world project. πŸŽ₯ 10 chapters Β· 42 lessons Β· 5+ hours of 4K video πŸ’» All code, recaps & resources included

Alex Bit (@alex__bit) 's Twitter Profile Photo

Is your company heavily relying on Node.js? Consider sponsoring August1! He’s changing how you adopt the latest Node.js features. github.com/sponsors/Augus…

Alex Bit (@alex__bit) 's Twitter Profile Photo

run AI-generated codemods via CLI! new feature now live in codemod.studio! πŸŽ‰ enjoy, and don’t forget to share your feedback! 🎁