Avatar

Clearly none of you are Rubyists (Destiny)

by BeardFade ⌂, Portland, OR, Tuesday, December 13, 2016, 20:34 (3144 days ago) @ kidtsunami
edited by BeardFade, Tuesday, December 13, 2016, 20:49

100% adoption of 2 spaces in the Ruby community. Here's a neat little infographic with data from 400,000 GitHub repos:

[image]

I mostly write JavaScript these days. I set my editor so a tab is 2 spaces. So used to it by now that 4 spaces for indentation is just way too much.

I like to use EditorConfig in any of my new projects these days. It allows you to add a config file to your project to enforce style guide rules that aren't linter specific. And most IDEs have an EditorConfig plugin to enforce the config.


Complete thread:

 RSS Feed of thread