49
What is your preferred import style
(sh.itjust.works)
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Follow the wormhole through a path of communities !webdev@programming.dev
I'm most used to c style and as a result I like it because it's simple and uncomplicated. I recently started learning rust and quite like their way of doing it, although there's also mod and I haven't quite figured out when to use which. I just do what rust analyser tells me :)
useimports things (items, crates, modules), whilemoddefines a module (either in another file with a a semicolon or in the same file with curly braces)Cheers