Benjamen Meyer
Benjamen Meyer
I know Qt uses in-place headers; however, personally I have found it's best to always separate out my headers into public and private includes: ``` includes // public interfaces, definitions,...
> > I know Qt uses in-place headers; however, personally I have found it's best to always separate out my headers into public and private includes: > > ``` >...
> Qt uses this a lot too. Qt does mostly interfaces as they use PIMPL so even if you directly derive, it's still an interface kind of thing as you...
> I think the rule is good but agree that the enforcement should be relaxed in cases where a number represents itself and is impossible to change. For example a...
> > `if(polygon.size() == TRIANGLE)` > > I disagree with the semantics of this code, comparing a "size" with a "object_type". But this is a bit off topic. semantics could...
> This is an example formula from a scientific paper that we recently run into. It contains magic numbers (2 and 6) and our tools will flag them as magic...
> Although I acknowledge this is a problem with no good solution, I'd like to point out that having to suppress warnings inline can make the code probably harder to...
> > // Allowed > > Foo foo { 0 }; > > Foo foo1 { 1 }; > > Foo foo2 { 2 }; > > Why would you...
> > I can understand such needs - namely when serializing to/from binary data sets (e.g network, disk, etc); however, in such cases it should be required that the enum...
@minrk thanks for the awesome tool. here's a little something back so one doesn't have to download every room they're part of.