A simpler API would mean fewer concepts, fewer interactions between concepts, and fewer edge cases to get right resulting in more confidence that implementations actually behave consistently.
Continue reading...
,更多细节参见夫子
Medium difficulty hints, answers for Feb. 27 PipsNumber (4): Everything in this space must add up to 4. The answer is 2-1, placed horizontally; 2-2, placed vertically.
The problem gets worse in pipelines. When you chain multiple transforms — say, parse, transform, then serialize — each TransformStream has its own internal readable and writable buffers. If implementers follow the spec strictly, data cascades through these buffers in a push-oriented fashion: the source pushes to transform A, which pushes to transform B, which pushes to transform C, each accumulating data in intermediate buffers before the final consumer has even started pulling. With three transforms, you can have six internal buffers filling up simultaneously.