Re:"Useless Ruby sugar": Endless (one-line) methods
by searls on Monday December 04, 2023 @07:27AM
(#38516441)
This is a huge reason why I still use StandardJS and—shifting back to Ruby—why I rejected the countless requests for implementing line-length or any other metrics analysis rules for Standard Ruby (https://github.com/standardrb/standard). There is always a legitimate edge case when it comes to length of lines and functions and the alternative—chopping them off arbitrarily—is rarely an improvement.
[ Parent
| on HN ]
There are no comments on this comment yet.