News for hackers. Stuff that matters.
Re:The Ruby Style Guide by h1d on Friday June 14, 2019 @12:19PM (#20184201)
Hard to swallow without any reasons written behind each decisions.
Re:The Ruby Style Guide by cknoxrun on Friday June 14, 2019 @12:29PM (#20184278)
The Ruby Style Guide has been around for a long time now, this is just a nice update.

The guide has received ample feedback and edits/additions over the years, with an emphasis on reaching a consensus amongst senior ruby developers and open source contributors.

I believe that adding justifications or reasons for each guideline would make the guide harder to read and search. The way it is written now is succinct enough to pass on to junior developers, and allows a company to centralize style around a well-established set of rules rather than reinventing the wheel.

Re:The Ruby Style Guide by caiocaiocaio on Friday June 14, 2019 @01:42PM (#20184949)
Agreed. I'm just happy to have a style guide that's tasteful enough and well-known among Ruby users. For me, one big advantage of the guide/Rubocop is being able to let other people worry about the little details and variations.
Re:The Ruby Style Guide by pmontra on Friday June 14, 2019 @01:22PM (#20184741)
There are some explanations. For example there is a link to a discussion at the end of https://rubystyle.guide/#consistent-multi-line-chains