4 ms·
I have been coding for a long time and I believe more and more that you can put as much science in as you want. But in the end these things are highly subjectiv
by spaetzleesser 6y ago
I have been coding for a long time and I believe more and more that you can put as much science in as you want. But in the end these things are highly subjective. Some people like it one way, some the other way. And in the end you can get used to almost anything once you have been doing it for a while.
I wouldn't mind if languages left no freedom for formatting and enforced a style. People would get used to it and a lot of ultimately fruitless discussions wouldn't happen.
- qayxc 6y ago> I wouldn't mind if languages left no freedom for formatting and enforced a style. People would get used to it and a lot of ultimately fruitless discussions wouldn't happen. That's exactly what enforced style guidelines are for. Most big software companies do exactly that. They define a set of rules and those are enforced using tooling (i.e. you cannot check-in and/or successfully build code that doesn't adhere to the guidelines). It's a pain sometimes (especially if line-length restrictions are enforced), but it frees your mind and that of the entire team from the fruitless discussions you mentioned.
- gherkinnn 6y ago> And in the end you can get used to almost anything once you have been doing it for a while. No. I never got used of line lengths above 80 chars. It hurts.
- TameAntelope 6y agoIt's less about "one true way" and more about "pick a way and stick with it". Almost none of this matters until it's not consistent, then it makes everything harder.