News for hackers. Stuff that matters.
Re:"Useless Ruby sugar": Endless (one-line) methods by munificent on Friday December 01, 2023 @01:46PM (#38490570)
As someone who maintains an automated formatter (Dart format), I agree that automated formatting raises the floor and lowers the ceiling. But my experience is that it raises the floor by a large amount and lowers the ceiling only a little. Most importantly, it reduces the engineering cost to reach the floor to zero.
Re:"Useless Ruby sugar": Endless (one-line) methods by a1369209993 on Friday December 01, 2023 @03:33PM (#38491946)
> But my experience is that it raises the floor by a large amount and lowers the ceiling only a little.

I mean, I agree that that's true at least in relative terms, but in my experience that's because it raises the floor from "bottomless pit" (eg IOCCC entry quality) to "much worse than we usually do", whereas lowering the ceiling a proverbial meter or two still means hitting my head on it (there's a upper bound on how readable code can be when you need to actually read it).

Re:"Useless Ruby sugar": Endless (one-line) methods by vidarh on Friday December 01, 2023 @03:35PM (#38491979)
The problem for me is that the effect is that you almost never make it above the floor. Maybe I'd have a different view on it if I had to work with a bunch of beginners, but I luckily don't.