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
When manually editing, to generate a fixed (predetermined) timing diagrams, it truly excels.
When trying to move into programmatically generating multiple diagrams, then there's some bumps.
Most of those bumps relate to discoverability. Most of the discoverability issues could be resolved by specifying the types expected for function parameters, and what to expect as results when functions return. Well, that and having a list of what's intended to be public. These are all things that are hampered in part by the type-less nature of Javascript.
Is there any interest in converting WaveDrom to TypeScript, so that type information can be slowly added?
The text was updated successfully, but these errors were encountered:
I'm moving forward with this. The existing code's complexity has exceeded the area where native Javascript shines brighter than TypeScript. Incrementally increasing type safety will both improve documentation, and catch (at compile time) additional errors ... thus making it easier to safely add new features (e.g., new arrow / spline / line types).
I'm also looking to increase automated testing ... so that any change in output for known test cases must be manually validated.
I LOVE what WaveDrom enables.
When manually editing, to generate a fixed (predetermined) timing diagrams, it truly excels.
When trying to move into programmatically generating multiple diagrams, then there's some bumps.
Most of those bumps relate to discoverability. Most of the discoverability issues could be resolved by specifying the types expected for function parameters, and what to expect as results when functions return. Well, that and having a list of what's intended to be public. These are all things that are hampered in part by the type-less nature of Javascript.
Is there any interest in converting WaveDrom to TypeScript, so that type information can be slowly added?
The text was updated successfully, but these errors were encountered: