News for hackers. Stuff that matters.
Re:The Code Review Pyramid by simonbarker87 on Tuesday March 22, 2022 @11:09AM (#30766991)
I’m at the point now where I don’t want to think about layout and formatting of my code, just let a formatter do it all for me on save please
Re:The Code Review Pyramid by tuyiown on Tuesday March 22, 2022 @11:18AM (#30767124)
But, code formatting is not a solved problem, right ?

You either have to fiddle until the formater outputs proper layout, or let it rest as is and never learn how to format your code, letting the code base leaking tons of probable less than ideal layout.

Re:The Code Review Pyramid by twblalock on Tuesday March 22, 2022 @04:42PM (#30771247)
The proper layout is whatever the formatter outputs. That's the point. Everyone uses the formatter and accepts whatever it does, and nobody needs to think about it anymore.
Re:The Code Review Pyramid by tuyiown on Wednesday March 23, 2022 @05:46AM (#30776730)
Re:The Code Review Pyramid by RussianCow on Tuesday March 22, 2022 @12:21PM (#30768029)
I configure Prettier once on my JS codebases and then never touch it again. Seems about as "solved" as is reasonably possible.
Re:The Code Review Pyramid by tuyiown on Wednesday March 23, 2022 @05:46AM (#30776732)
Re:The Code Review Pyramid by RussianCow on Thursday March 24, 2022 @12:06PM (#30791803)
I'm not sure how that's relevant. The fact that it's difficult doesn't make it unsolved.
Re:The Code Review Pyramid by kolanos on Tuesday March 22, 2022 @02:15PM (#30769477)
I'll take a consistent less than ideal layout over whatever $HUMAN comes up with. But to me an inconsistent layout is the less than ideal one. And humans excel at inconsistency.
Re:The Code Review Pyramid by tuyiown on Wednesday March 23, 2022 @05:46AM (#30776733)