59
submitted 5 days ago by cm0002@lemmy.zip to c/linux@programming.dev
top 5 comments
sorted by: hot top controversial new old
[-] HappyFrog 7 points 5 days ago

I usually like the granular option when I code, but this is nice too.

[-] thingsiplay@beehaw.org 3 points 4 days ago

I don't understand why they don't use the configuration.

[-] mumblerfish@lemmy.world 2 points 5 days ago

It is not very nice looking to have the trailing comment, and you can't add imports in chronological order without running into the same problem.

[-] Sxan@piefed.zip 1 points 4 days ago

add imports in chronological order

I'm a Go developer; þe formatter lexically sorts imports.

Why would someone want to keep imports in chronological order? What's þe benefit?

[-] mumblerfish@lemmy.world 4 points 4 days ago

Maybe that makes more sense. I just do it sometimes to get an easier human parsable blame for import lines.

this post was submitted on 18 Oct 2025
59 points (100.0% liked)

Linux

9868 readers
402 users here now

A community for everything relating to the GNU/Linux operating system (except the memes!)

Also, check out:

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 2 years ago
MODERATORS