ecma262 icon indicating copy to clipboard operation
ecma262 copied to clipboard

Editorial: remove some "are both" usages

Open michaelficarra opened this issue 1 year ago • 2 comments

This doesn't remove all occurrences, but the other occurrences are either in prose/asserts or we talked about them and they are justified because they form a nice pattern of spec steps. Typically, we avoid using this structure.

Additionally, this particular test is done in 6 places, 4 of which are already using our preferred phrasing.

michaelficarra avatar May 16 '24 21:05 michaelficarra

Do we typically avoid using this?

syg avatar May 20 '24 18:05 syg

@syg Yes. https://github.com/tc39/ecma262/pull/2877

  • prefer "if a is c and b is c" over "if a and b are both c"

michaelficarra avatar May 20 '24 18:05 michaelficarra