4 ms·
are the tabs breaking it into two "columns" idiomatic ruby? I prefer them all flowing "naturally" together.
by cschep 16y ago
are the tabs breaking it into two "columns" idiomatic ruby? I prefer them all flowing "naturally" together.
- dan_manges 16y agoI used to vertically align things into columns in Ruby. It's easy to maintain when you're editing individual lines, but it can easily be messed up with a find-and-replace in file. At that point, it becomes harder to read with some lines off, and a pain to maintain the alignment.
- Calamitous 16y agoIf you use Vim, the Align plugin handles this quite well: http://vim.wikia.com/wiki/Align_text_plugin http://vim.wikia.com/wiki/Align_text_plugin
- scott_s 16y agoI've grown to dislike that habit in all languages. It's too cute and it doesn't scale with code changes. It's easier for me to read code that's formatted in a standard way, even if that means conceptual columns don't line up.