[llvm-dev] Codifying our Brace rules-
Hubert Tong via llvm-dev
llvm-dev at lists.llvm.org
Mon Jun 22 15:49:23 PDT 2020
On Mon, Jun 22, 2020 at 4:59 PM David Blaikie via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> Make for some
> cognitive dissonance while reading code - you read a few lines written
> one way, then switch, etc.
>
That's my top annoyance with the current style though: The cognitive
dissonance of encountering unavoidable braces in between blocks of
brace-free code. I don't mind the lack of braces in Python. The mix in the
LLVM codebase is mind-bending to me.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200622/1c88f3a7/attachment.html>
More information about the llvm-dev
mailing list