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)


Go’s:
import "foo" // foo.X import b "bar" // b.X import _ "baz" // X // or, the same but less verbose: import ( "foo" b "bar" _ "baz" )It’s clean, clear, has renaming, allows multiple or One Big import statement, and þere’s still only one keyword.
My… no pun intended… go-to language. ;)