Skip to main content
7 events
when toggle format what by license comment
May 3, 2023 at 1:52 comment added Jeremy Friesner Specifically: The decisions made by the authors of the style guide are subjective, but the question of whether a given piece of code conforms to the rules listed in the style guide is objective.
May 2, 2023 at 9:18 comment added Jo Totland Having every contributor follow the same style guide leads to cleaner code, just like having everyone driving their car on the same side of the road leads to smoother traffic. But even if your country have put into law which side of the road cars should drive on, doesnt make it an objective truth that cars necessarily needs to drive on the right (or left) side of the road. Nor does checking coding style in CI make the style guide any more objective.
May 2, 2023 at 9:03 comment added BЈовић @MartinBa it is possible to check the coding style in CI, meaning it is not possible to merge (or even check in) the code if not adhering to the style. In such case, question above is meaningless.
May 2, 2023 at 8:05 comment added Martin Ba @BЈовић - And the folks defining these coding styles at those normal companies are not subjective at all, right? :-) Subjective doesn't need to mean that each member of a team does something else. It's just the opposite of objectively measurable in this context.
May 2, 2023 at 5:31 comment added BЈовић coding style is not a subjective thing. normal companies define their own coding style
S May 1, 2023 at 15:27 review First answers
May 2, 2023 at 6:22
S May 1, 2023 at 15:27 history answered Jo Totland CC BY-SA 4.0