Tim Wiederhake 15ca9bf2bc docs: coding-style: Rewrite section on shortening comparisons
The code style showed `bool hasFoos; if (hasFoos == true)` as a
good example in one place, only to warn against comparisons with
`true` a couple of paragraphs further down.

Merge this advice on comparing with `true` into the "Conditional
expressions" section and split the example up for readability.

Signed-off-by: Tim Wiederhake <twiederh@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2022-01-17 10:58:59 +01:00
..
2021-10-01 11:05:12 +02:00
2017-10-16 10:22:34 +01:00
2021-03-15 17:31:35 +01:00
2021-09-15 08:37:40 +02:00
2021-04-15 15:42:21 +02:00
2020-04-20 14:06:25 +01:00