getify / Functional-Light-JS

Pragmatic, balanced FP in JavaScript. @FLJSBook on twitter.
http://FLJSBook.com
Other
16.6k stars 1.96k forks source link

Chapter 7, Grammar Error? #139

Closed newyork-anthonyng closed 6 years ago

newyork-anthonyng commented 6 years ago

Current:

If you think about it as "turtles (aka, objects) all the way down", at the lowest level, all state data is primitives, and all primitives are value-immutable.

Should be:

If you think about it as "turtles (aka, objects) all the way down", at the lowest level, all state data are primitives, and all primitives are value-immutable.

getify commented 6 years ago

I don't think "data" is universally accepted as singular or plural. See: http://www.quickanddirtytips.com/education/grammar/is-data-singular-or-plural?page=1

The usage of "all" here might imply plurality -- my intent is "all of the state data is...", but I left out "of the" just for brevity/informality sake.

However, the plural "primitives" here is the most compelling evidence of a mismatch. Yet, I would still assert "data" should be singular. Here's why: the sentence reads in my mind (aka, is intended as): "...at the lowest level, all of the state data is comprised of primitives..."

Leaving out those two connective phrases does introduce a slight amount of grammar ambiguity, but I think it's mostly just being picky to insist on them being there to justify the is vs are choice. While I strive to be grammatically correct (for the most part!), I also have an informal style that I think can afford a few liberties like this one. :)

Thanks for the input, though!

newyork-anthonyng commented 6 years ago

@getify Makes sense 👍

Thanks again for your hard work! It's a great read.