There are a few I’m aware of:
- Rust-style
use(multiple imports per statement, renaming items usingas) - Java-style
import(single import per statement, no renaming (afaik)) - Zig-style
let xlib =(imports as assignments) - C-style
(no importing, just pastes the code of the named file)


I don’t know, but my least favourite has to be Python with its
fromsyntax.e.g.,
# fine import os.path # what?? from os import pathiirc there is also this patter of putting the following inside init.py:
from .myfunction import myfunctionI don’t mind the syntax as such but the whole module, file, relative hidden import rules drives me nuts.