Thread 105955980 - /g/ [Archived: 409 hours ago]

Anonymous
7/19/2025, 1:54:19 PM No.105955980
20250712_154906
20250712_154906
md5: e56b4a2d6545ca429b0883f7be8b8daf🔍
Do you feel demoralized when go fmt format-rapes your code?
Replies: >>105956315 >>105956324 >>105956396 >>105957386 >>105957434 >>105957770 >>105957841 >>105958033
Anonymous
7/19/2025, 2:42:37 PM No.105956315
>>105955980 (OP)
>He lets another man's code plap his
I shiggy diggy
Anonymous
7/19/2025, 2:44:21 PM No.105956324
>>105955980 (OP)
Why is that?
I never touched Go.
Anonymous
7/19/2025, 2:52:58 PM No.105956396
>>105955980 (OP)
Fuck no. It's great. I can type out my code in whatever shitty format I feel like, and the automated formatter janny cleans up my mess.
(I don't write go, but I use format-on-save with every language I do write.)
Replies: >>105956761
Anonymous
7/19/2025, 3:40:44 PM No.105956761
>>105956396
This
Anonymous
7/19/2025, 5:00:59 PM No.105957386
>>105955980 (OP)
at work we have to use flake8, pylint, and whatever. It makes nice single line function signature and calls span 3 likes. It's almost as disgusting as hunter bidens laptop from hell
Replies: >>105957434
Anonymous
7/19/2025, 5:06:48 PM No.105957434
>>105955980 (OP)
Is go fmt really that bad? I always heard it was way better than rustfmt in that it leaves your shit alone unless you do something really egregious (misleading indentation, super long lines, etc)

>>105957386
>It makes nice single line function signature and calls span 3 likes
assert!(
self.thing.is_some(),
"impossible: in state {:?}, mode {:?}, but thing is none?",
self.state,
self.mode,
);

Yeah I really needed that to be six fucking lines instead of 2. Thanks rustfmt
Anonymous
7/19/2025, 5:19:44 PM No.105957525
17400181779961
17400181779961
md5: e6142b9e1ddfd57e4da4037e863953bf🔍
I do feel demoralized whenever I see a go code
Anonymous
7/19/2025, 5:21:39 PM No.105957539
For me it's KNF style(9), and here's why that's a good thing.
Anonymous
7/19/2025, 5:51:01 PM No.105957770
>>105955980 (OP)
It's great. BTFOs your retarded
if (...)
{
...
}
Anonymous
7/19/2025, 5:58:54 PM No.105957841
>>105955980 (OP)
I just use rust analyzer. Yes I am trans btw.
Anonymous
7/19/2025, 6:23:58 PM No.105958033
>>105955980 (OP)
no because im not indian i have no use for indian programming languages
gojeets cant stop losing lmao