Closed d4be4st closed 3 years ago
cc @infinum/backend-team
Isn't something like this already supported by rubocop? What's the difference? (I personally don't use the table style)
Default is "#bad" examples
Updated the OP, to use # Default
and # Table
I don't think the "cleanliness" is a good enough reason because:
Also about the cleanliness argument, the table view has its benefits which is that if you look at the whole hash, you can easily see all of the values or all of the keys. But since most of the work with hashes is looking at the value of a specific key, the more common way of viewing is key-value, column by column (as the intended store). I think it is easier to see the value of a key if they have just a single space in between them. Having a longer key would require you to use some kind of visual guidelines to easily look at the value of shorter keys, which is more taxing.
Proposal:
Or
Or
table seems cleaner