Date: Sun, 29 Nov 2026 18:36:03 +0000
On Sun, 29 Nov 2026, 18:22 Aleksandr Povaliaev, <apovalyaev_at_[hidden]>
wrote:
> Have you read MISRA-C and MISRA-C++ rules?
>
Yes.
Most of them are more stupid and seem to be very impractical. But a lot of
> companies try to follow these standards.
>
> The same will apply to design pattern decisions. Why do we bother about
> putting "{" and "}" brackets after each condition? It will change nothing.
> But don't want to introduce a very informative compile-time warning which
> informs a user that he is going to use two different comparison operators
> for the same structure and possibly hash too.
>
This discussion is getting silly, please take it elsewhere.
wrote:
> Have you read MISRA-C and MISRA-C++ rules?
>
Yes.
Most of them are more stupid and seem to be very impractical. But a lot of
> companies try to follow these standards.
>
> The same will apply to design pattern decisions. Why do we bother about
> putting "{" and "}" brackets after each condition? It will change nothing.
> But don't want to introduce a very informative compile-time warning which
> informs a user that he is going to use two different comparison operators
> for the same structure and possibly hash too.
>
This discussion is getting silly, please take it elsewhere.
Received on 2026-11-29 18:36:22
