News for hackers. Stuff that matters.
Re:The Hardest Program I've Ever Written by al2o3cr on Thursday September 10, 2015 @08:33AM (#10197629)
" Even if the output of the formatter isn’t great, it ends those interminable soul-crushing arguments on code reviews about formatting."

Similarly, covering all your food in Doritos dust doesn't always taste great but it ends the interminable soul-crushing arguments about what flavor things should have.

Re:The Hardest Program I've Ever Written by rfrey on Thursday September 10, 2015 @08:38AM (#10197649)
Flavor (as well as texture and aroma) is the whole point of cooking (otherwise, Soylent). Formatting is not the point of programming.
Re:The Hardest Program I've Ever Written by tremon on Thursday September 10, 2015 @10:04AM (#10198066)
I'd say nourishment is the whole point of cooking. The advent of cooking made more foods digestable to our intestines and other foods less risky.

Flavour, texture and aroma are learned appreciations, and are not universal. So I think the comparison with code style is quite apt.

Re:The Hardest Program I've Ever Written by jdbernard on Thursday September 10, 2015 @11:00AM (#10198448)
No, nourishment is just the bare essentials of cooking. In fact, we have a very large problem, literally and figuratively, because we often don't care about the nourishment. Consider junk foods and others that we call "empty calories" because they have no real nutritional value.

My point being that I don't really see the persuasive value of the analogy. It's a false-equivalence. The point was that yes many people often care deeply about the formatting of the code (myself included), but discussions around formatting are almost always a form of bike-shedding. A better analogy would be "randomly selecting the restaurant doesn't always lead you to your favorite place, but at least it prevents the interminable discussions about where to go."

Re:The Hardest Program I've Ever Written by munificent on Thursday September 10, 2015 @10:49AM (#10198364)
I think a better analogy is that having a free cafe ends those interminable discussions about where to go to lunch each day.
Re:The Hardest Program I've Ever Written by davvolun on Thursday September 10, 2015 @12:23PM (#10198963)
So you're arguing we should continue arguing about code formatting, esp. during a code review?

I disagree with the comparison, but go ahead with it, what's your point?

Re:The Hardest Program I've Ever Written by draw_down on Thursday September 10, 2015 @01:21PM (#10199324)
Well that's not a very good point.