← Home ← Back to /g/

Thread 105955980

12 posts 4 images /g/
Anonymous No.105955980 [Report] >>105956315 >>105956324 >>105956396 >>105957386 >>105957434 >>105957770 >>105957841 >>105958033
Do you feel demoralized when go fmt format-rapes your code?
Anonymous No.105956315 [Report]
>>105955980 (OP)
>He lets another man's code plap his
I shiggy diggy
Anonymous No.105956324 [Report]
>>105955980 (OP)
Why is that?
I never touched Go.
Anonymous No.105956396 [Report] >>105956761
>>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.)
Anonymous No.105956761 [Report]
>>105956396
This
Anonymous No.105957386 [Report] >>105957434
>>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
Anonymous No.105957434 [Report]
>>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 No.105957525 [Report]
I do feel demoralized whenever I see a go code
Anonymous No.105957539 [Report]
For me it's KNF style(9), and here's why that's a good thing.
Anonymous No.105957770 [Report]
>>105955980 (OP)
It's great. BTFOs your retarded
if (...)
{
...
}
Anonymous No.105957841 [Report]
>>105955980 (OP)
I just use rust analyzer. Yes I am trans btw.
Anonymous No.105958033 [Report]
>>105955980 (OP)
no because im not indian i have no use for indian programming languages
gojeets cant stop losing lmao