J'y ai réfléchi et cela a vraiment beaucoup de sens. Les imports n'ont absolument aucun sens, donc j'ai créé un plugin neovim pour plier automatiquement les imports dans tous les langages que j'utilise en utilisant treesitter (il fonctionne jusqu'à présent avec C, Rust, C++, OCaml, (Type/Java)script, Zig et Python) \ASMR
zack (in SF)
zack (in SF)2 juil., 09:24
One uncommon style convention we have in the Bun codebase is putting imports at the bottom of the file instead of the top of the file No one wants to see 100 lines of imports before seeing the actual meat of the code
42,66K