You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Due to the core use case of vast-parser being to transform data from one structure to another, a type system will provide a huge benefit.
The main benefit is that the structure of VastResponse can be self-documented and enforced. Right now, that structure isn't entirely obvious.
The other benefit is to auto-generate documentation (by using something like typedoc). Keeping the README up-to-date and accurate by hand isn't easy.
With a type system, it'll also make it easier to move towards a more functional approach. Eventually allowing an application to tree-shake any unused code.
The text was updated successfully, but these errors were encountered:
Due to the core use case of vast-parser being to transform data from one structure to another, a type system will provide a huge benefit.
The main benefit is that the structure of
VastResponse
can be self-documented and enforced. Right now, that structure isn't entirely obvious.The other benefit is to auto-generate documentation (by using something like
typedoc
). Keeping the README up-to-date and accurate by hand isn't easy.With a type system, it'll also make it easier to move towards a more functional approach. Eventually allowing an application to tree-shake any unused code.
The text was updated successfully, but these errors were encountered: