Skip to content
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.

Editorial: simplify DataView validation #83

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jugglinmike
Copy link
Contributor

Previously, the variable named "byteLengthChecked" could contain a
specification label ("empty") or a Number value. Despite this, it was
only used to determine whether a single condition had been satisfied.
Using a complex type to describe a binary state made the algorithm
appear more complicated than it truly is.

Simplify the value in order to more clearly communicate the variable's
effect on the algorithm.

Previously, the variable named "byteLengthChecked" could contain a
specification label ("~empty~") or a Number value. Despite this, it was
only used to determine whether a single condition had been satisfied.
Using a complex type to describe a binary state made the algorithm
appear more complicated than it truly is.

Simplify the value in order to more clearly communicate the variable's
effect on the algorithm.
@jugglinmike
Copy link
Contributor Author

I've suggested an alternative simplification in gh-84.

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.

1 participant