Live data from Hacker News

Just write a test for it

kobzol.github.io

61–62 of 62 posts

Re: Just write a test for it

#61

Enjoyed the article. Am I out of touch or have the article linked to a PR of the rust-lang eco system that didn’t go through a CR, is this really the standard for such a large language standard library?

Agree with simonw’s sibling comment. To add to it, I’m the primary maintainer of the Rust playground and basically self-review every single commit. The rust-lang/rust repository has higher scrutiny (in part driven by tools like bors, the subject of the article).

I am very sorry for casting doubt, the sibling comment makes a lot of sense.

Re: Just write a test for it

#62
post #14
post #5

This is a whole ̶l̶o̶n̶g̶ blog post about someone who was surprised that he could use a crate to parse SQL queries in Rust. A bit of an underwhelming read to me personally.

There's a difference between intellectually "knowing" that you can parse SQL, and actually going out and trying it and finding that it's practical to do in a test suite. I found the article valuable.

> I found the article valuable.

And that's great. Note that I specifically said that "for me personally", I found that article less valuable. But I'm certainly not claiming that everyone else should feel the same.

As a matter of fact, I'm sure a lot of people find my comment to be of little value.

Post reply on HN