home - all - feeds - topics | imgoingtohellforthis - politics - canada - asklemmy - technology - yepowertrippinbastards - microblogmemes - gunners - onehundredninetysix - localllama - microblogs - movies - linux - news - science - games - perchance - mildlyinfuriating - nostupidquestions - lemmyshitpost - more »
log in or sign up | preferences |
quokk.au site icon
programmerlexi@sh.itjust.works
  • overview
  • comments
  • submitted
  • programmerlexi

    programmerlexi@sh.itjust.works
    joined 1 year ago
    sorted by: new top controversial old
    127
    Cats rule (sh.itjust.works)
    submitted 2 weeks ago by programmerlexi@sh.itjust.works to c/onehundredninetysix@lemmy.blahaj.zone
    3 comments fedilink
     
    49
    What is your preferred import style (sh.itjust.works)
    submitted 2 months ago by programmerlexi@sh.itjust.works to c/programming@programming.dev
    45 comments fedilink
     

    There are a few I'm aware of:

    1. Rust-style use (multiple imports per statement, renaming items using as)
    2. Java-style import (single import per statement, no renaming (afaik))
    3. Zig-style let xlib = @import("xlib") (imports as assignments)
    4. C-style #include (no importing, just pastes the code of the named file)
    piefed
    0.5.3
    mlmym
    dotzip.1.9
    quokk.au
    modlog