[PATCH] D69764: [clang-format] Add Left/Right Const fixer capability

Marek Kurdej via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 13 01:50:33 PDT 2021


curdeius added a comment.

In D69764#2996365 <https://reviews.llvm.org/D69764#2996365>, @steveire wrote:

> FYI - there's nothing "anti-inclusive" about East/West.

Thank you for your comment.

Personally I don't think that the question of not using East/West is whether these terms are inclusive or not.
It's more about being straight to the point, not multiplying multiple options (clang-format has lots of them already).
Moreover, Left/Right is IMO universally understood (we have left-to-right or right-to-left writing, left/right margin and so on, these words seem to be more popular in typography-related contexts).
East/West is on the other hand not that universal and often misunderstood. It also adds an unnecessary cognitive charge, because one needs to translate it to left/right in their head anyway.
Tangentially, the left part of my screen is not necessarily on the west...

My 2 cents.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D69764/new/

https://reviews.llvm.org/D69764



More information about the cfe-commits mailing list