5 ms·
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
by simonbarker87 5y ago
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
- tuyiown 5y agoBut, 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.
- RussianCow 5y agoI configure Prettier once on my JS codebases and then never touch it again. Seems about as "solved" as is reasonably possible.
- tuyiown 5y agohttp://journal.stuffwithstuff.com/2015/09/08/the-hardest-program-ive-ever-written/ http://journal.stuffwithstuff.com/2015/09/08/the-hardest-pro...
- RussianCow 5y agoI'm not sure how that's relevant. The fact that it's difficult doesn't make it unsolved.
- kolanos 5y agoI'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.
- tuyiown 5y agohttp://journal.stuffwithstuff.com/2015/09/08/the-hardest-program-ive-ever-written/ http://journal.stuffwithstuff.com/2015/09/08/the-hardest-pro...
- twblalock 5y agoThe 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.
- tuyiown 5y agohttp://journal.stuffwithstuff.com/2015/09/08/the-hardest-program-ive-ever-written/ http://journal.stuffwithstuff.com/2015/09/08/the-hardest-pro...