9. A default is a preference, not an override
A default, a starred alternative, is a preference: it is used when the rest of the configuration leaves the choice undecided, a concrete value replaces it without conflict, and if two defaults for one field disagree neither is used.

9. A default is a preference, not an override

A default, a starred alternative, is a preference: it is used when the rest of the configuration leaves the choice undecided, a concrete value replaces it without conflict, and if two defaults for one field disagree neither is used.

You get the boilerplate removal that inheritance gives, with nothing hidden deciding which value wins.

Without overrides, how do you say: replicas is one, unless told otherwise? With a default. A star marks the preferred choice.

A default is written in pencil. It is not a concrete value.

If nothing else is said, the default is used.

If someone writes three in ink, it is three. No conflict. Three is an int.

Now two defaults that disagree. The first says one. The second says two. Two pencil marks settle nothing. CUE does not pick.

The field stays undecided, until someone writes a concrete value. Nothing hidden decides for you.

Check yourself. What does CUE do when one place says int | 1 and another says int | 2 for the same field?

Do you like what you are reading? Subscribe to receive updates.

Unsubscribe anytime

People