News for hackers. Stuff that matters.
Re:Abstract Syntax Tree for Patching Code and Assessing Code... by acka on Monday June 07, 2021 @09:07AM (#27422090)
Please do realize that if your project ever ends up under source code management, reading diffs and merging changes may cause headaches for anyone who wishes to contribute to your code. SCM and liberal use of code reformatting tools usually don't mix well, unless you're very careful while configuring them.
Re:Abstract Syntax Tree for Patching Code and Assessing Code... by erezsh on Monday June 07, 2021 @10:52AM (#27423297)
> SCM and liberal use of code reformatting tools usually don't mix well

Care to elaborate about that?

It seems to me like the resulting code will be very consistent, and only change when I either improve the transpiler, or when Prettier issue an update to their formatting. But that's unlikely, and anyway I can just use a fixed version.