Telah memikirkan hal ini dan itu benar-benar masuk akal. Impor sama sekali tidak berarti jadi saya membuat plugin neovim untuk secara otomatis melipat impor dalam setiap bahasa yang saya gunakan menggunakan treesitter (bekerja di C, Rust, C++, OCaml, (Type/Java)script, Zig, dan Python sejauh ini) \ASMR
zack (in SF)
zack (in SF)2 Jul, 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,36K