Skip to content
This repository has been archived by the owner on Mar 15, 2021. It is now read-only.

Few minor stylistic suggestions #19

Closed
wants to merge 1 commit into from

Conversation

subatoi
Copy link

@subatoi subatoi commented Jul 12, 2018

Context

Made some suggestions to style after request from Arnau, which can be adopted or rejected after review

Changes proposed in this pull request

Style-based changes only

Guidance to review

N/A; this is self-contained

@subatoi subatoi requested a review from arnau July 12, 2018 10:42
@subatoi
Copy link
Author

subatoi commented Jul 12, 2018

Just an FYI I didn't look at anything that was marked "TODO"

Registers started as pure data, and slowly added different bits of metadata.
The reference implementation has a few bits of metadata (e.g. description,
Registers started as pure data, but have evolved as different metadata has been added.
The reference implementation has some metadata (e.g. description,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've taken parts of this one.

This RFC aims to keep backwards compatibility by creating a new log
to encode metadata changes with references to the data log to keep
coordination with the original data log.
This RFC proposes a new log to encode metadata changes which has references to the original data log, in order to maintain backwards compatibility.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@@ -180,7 +176,7 @@ a0 =
]
```

Note a delta is an ordered set ordered by key.
Note that a delta is a data set ordered by key.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's talk about this one. A "Set" is unordered by definition. An "Ordered Set" is a different data structure with different expectations. When I say "is an ordered set ordered by key" I mean:

  1. A delta is an "ordered set" (as opposed as "a set")
  2. The "ordered set" ordering criteria is by the element key.

Copy link
Contributor

@arnau arnau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I cherrypicked most of the suggestions, I'll close this PR manually.

arnau pushed a commit that referenced this pull request Jul 16, 2018
Find the original suggestions in PR #19

Signed-off-by: Arnau Siches <arnau.siches@digital.cabinet-office.gov.uk>
@arnau arnau closed this Jul 16, 2018
@arnau arnau deleted the stylistic-suggestions branch July 17, 2018 11:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants