I prefer `class A: B {}`
# announcements
v
I prefer
class A: B {}
😱 6
m
vlastachu: If you prefer that, it's fine. If you can convince your whole team to use the same formatting, that's perfect. I prefer to stick to default formatting (even if I don't think it's perfect), because a) it's default and everybody already have it in IDE b) it doesn't matter that much to waste time arguing on it - this is a mistake I made over 10 years ago when thinking a lot with a friend of mine about formatting C++ code. If someone one the team would want to use different formatting and everybody agreed, then it would be fine with me.
v
Well, my sentence shouldn't sound so strong. When I say "prefer" I mean that I will type this in such manner if IDE will not tip me better. (this is wrong sentence for english, but you understand probably).
it doesn't matter that much to waste time arguing on it
Sure!