logoalt Hacker News

dwatttttyesterday at 9:08 PM1 replyview on HN

While most hello worlds do not check that the message was printed (which I assume writeStreamingAll does for you), dismissing the rest of the differences as "the others aren't correct" isn't really accurate.

Explicitly passing IO in is a fine design choice, but it's not a correctness issue to say others are wrong to not do so.


Replies

tester756yesterday at 9:17 PM

>While most hello worlds do not check that the message was printed

Should they?

show 1 reply