3 ms·
Heh, thanks for the feedback! What you’re seeing at the end here is the implementation of the parser itself. You might not be interested in how the parser is i
by mbostock 8y ago
Heh, thanks for the feedback! What you’re seeing at the end here is the implementation of the parser itself.
You might not be interested in how the parser is implemented; more likely you only care about the design and usage of the proposed data format. Which is fine! But we designed Observable to share one interface for both authors and readers under the view-source philosophy that made the early web so great: all the source is there, accessible, if you do want to dive in and understand it.
But we could do a better job of making the segue from narrative to internal implementation less jarring. I’ve edited this post to make that more explicit with an “appendix” header for the implementation. And we’ve been thinking about ways to formalize this convention, so that the code is still accessible with a click or two if you want it, but doesn’t distract from a normal read.