tc39 / proposal-logical-assignment

A proposal to combine Logical Operators and Assignment Expressions
https://tc39.es/proposal-logical-assignment/
MIT License
300 stars 13 forks source link

Switch to "neither" from "not". #18

Closed DanielRosenwasser closed 4 years ago

DanielRosenwasser commented 4 years ago

This is a nit, and I will close it if it goes on for more than 2-3 comments.

This just reads better to me when a nor is matched with a neither, and most places in the spec that use nor with a group of values uses neither.

Alternatively, the only other place in the spec where we seem to negate values of null or undefined with "not" uses the word "or" instead of "nor", and that would probably sound best to me.

jridgewell commented 4 years ago

with "not" uses the word "or" instead of "nor", and that would probably sound best to me.

"nor" should always be used when describing a negative union.