ruby.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
If you are interested in the Ruby programming language, come join us! Tell us about yourself when signing up. If you just want to join Mastodon, another server will be a better place for you.

Administered by:

Server stats:

1.1K
active users

I continue to just not *get* Rubocop, StandardRB, etc.

Rubocop enforces many rules, often badly-considered rules, and adds new rules frequently.

But I get the impression that other people are genuinely bothered by reading code with a variety of quoting styles? Like, there are enough styles out there, and I read enough different code, that to me that's just a sunk cost.

Maybe other people rarely read outside their 'home' codebase?

@codefolio I've only played around with these things a few times and it never sticks. Usually I test the auto formatter on a codebase to see if I like the result, and usually it changes a bunch of stuff that seems worse to my eye.

When I'm consulting and they already have a Rubocop setup I'm usually not too bothered, but it's mainly fixing CI "failures" I don't care about on PRs 🤷‍♂️

I tested the VS Code StandardRB thing today and it seems pretty nice, though, so I might give it another shot...

Noah Gibbs

@trevorturk I can see how various setups (carefully-chosen rules, fewer rules) can make it less onerous.

I just don't get what the benefit is in return for the work.

@codefolio Yeah, I think there's some benefit to a mostly agreed upon code style, but imo a lot of the rules are just weirdo bike shedding, like double quotes vs single quotes gimme a break!