Думали про це, і це насправді має великий сенс. Імпорт абсолютно безглуздий, тому я створив плагін neovim для автоматичного згортання імпортів у кожній мові, яку я використовую, за допомогою treesitter (поки що працює на C, Rust, C++, OCaml, (Type/Java)script, Zyg та Python) \АСМР
zack (in SF)
zack (in SF)2 лип., 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,37K