Re:"Useless Ruby sugar": Endless (one-line) methods
by jlarocco on Friday December 01, 2023 @12:32PM
(#38489470)
Seems counter productive to me.
The first snippet is much easier to read, and using this technique to get around your 100 line rules seems to be missing the point of the rule - or purposely subverting it.
The first snippet is much easier to read, and using this technique to get around your 100 line rules seems to be missing the point of the rule - or purposely subverting it.