Can someone please explain the rules for serialisation?

I know the basics of punctuation in Russian, Latvian, and English, but I'm not entirely sure about these rules in English.

For example, if something has to be at the same time, but unrelatedly be

1. Complete
2. Composable
3. Correct

Should it be "this code is complete composable and correct" or "this code is complete, composable, and correct"?

Are there serialisation cases without the use of comma in English?

@jonn The latter is correct. There are cases when you would use a semi-colon in place of the comma if one of the items includes a comma; like with a date, perhaps.

The comma before the "and" in the serialization is optional.

@groovestomp in Russian there is a rule that if the adjectives are independent, they don't get a comma.

> "Large golden grandma's teapot"

Is it the same in English (since it's not really a serialisation)?

Follow

@jonn @groovestomp

Yo. I think you can have two different comma placements, depending on whether it is a large [golden grandma's teapot] or large, golden [grandma's teapot], e.g., whether large modifies grandma's teapot or golden grandma's teapot as a compound.

In this particular case, you might imagine a collection of golden grandma's teapots, one of which is large-sized, or a collection of grandma's teapots, one of which happens to be large and golden. A good rule that I saw is if you can put "and" in there, you can use a comma.

There is no comma elision rule for independent adjectives AFAIK, if the adjectives are independent (e.g. independently modify one noun), it is exactly the spot where you use a comma.

Sign in to participate in the conversation
Doma Social

Mastodon server of https://doma.dev.