News for hackers. Stuff that matters.
Re:"Useless Ruby sugar": Endless (one-line) methods by JohnFen on Friday December 01, 2023 @01:53PM (#38490649)
Good formatters do understand the code, though. They parse it much like a compiler does.
Re:"Useless Ruby sugar": Endless (one-line) methods by kevincox on Friday December 01, 2023 @01:55PM (#38490672)
They understand the syntax of the code. They may even understand the types and relationships. They don't understand meaning and can only have very rough estimates at logical complexity.
Re:"Useless Ruby sugar": Endless (one-line) methods by vidarh on Friday December 01, 2023 @03:30PM (#38491912)
I've yet to experience a good formatter.