Live data from Hacker News

The Rust Libs Blitz

blog.rust-lang.org

121–125 of 125 posts

Re: The Rust Libs Blitz

#121

The article also links the state of rust survey. I visited the survey with intent to answer it but the first question "Do you use Rust?" only has the following three alternatives for an answer: - "Yes" - "No, I stopped using Rust" - "No, I've never used Rust" When making a survey the alternatives for the answers are very important. I feel that none of these alternatives apply to me. That's bad. Unfortunate because I…

So, just take YES and move on? Surveys are about trends not about absolutes.

I would have thought he should say NO, or maybe that he quit given his situation. So maybe he could roll a dice* for the answer - but that wouldn't really provide information. One more slot wouldn't hurt.

*"roll a die" for those who prefer more atavistic conventions - see research on Latin plurals rendered in English over time and with regard to frequency of use.

Re: The Rust Libs Blitz

#122

The article also links the state of rust survey. I visited the survey with intent to answer it but the first question "Do you use Rust?" only has the following three alternatives for an answer: - "Yes" - "No, I stopped using Rust" - "No, I've never used Rust" When making a survey the alternatives for the answers are very important. I feel that none of these alternatives apply to me. That's bad. Unfortunate because I…

So, just take YES and move on? Surveys are about trends not about absolutes.

I'm in the same boat but answered no. I'll go with the grandparent coment and suggest that an option indicating that you've tinkered and dabbled with it and no more. (Sorry, a more appropriate wording doesn't come to mind at the moment)

Re: The Rust Libs Blitz

#123

Earlier quoted context omitted.

Code coverage in itself isn't a very useful metric. Classic example is big test with no asserts will get you pretty good coverage. There's a rather computationally intensive technique called mutation testing where you introduce bugs into code (e.g. change + to -, flip conditionals, etc.) and check that tests fail.

Code coverage has been useful to me in practice, so I think blanket statements like "code coverage isn't useful" is very misleading. For example, code coverage has helped me identify specific branches in my code that are untested, which in turn help guide me to write additional unit tests. You don't need to completely dismiss other testing techniques. Mutation testing can be useful at the same time that code coverage…

Totally agreed. Branch coverage has been far more useful to me than line coverage has.

Re: The Rust Libs Blitz

#124

Earlier quoted context omitted.

So, just take YES and move on? Surveys are about trends not about absolutes.

I'm in the same boat but answered no. I'll go with the grandparent coment and suggest that an option indicating that you've tinkered and dabbled with it and no more. (Sorry, a more appropriate wording doesn't come to mind at the moment)

> i use it in production > i use it for hobby projects > i have played with it > i have never used it

Clojure survey had something along these lines

Re: The Rust Libs Blitz

#125
post #89

I do wish cargo packages were namespaced a la Github. Squatting on usernames is one thing, but package and project names are often the only way you hear about something. cargo react-svg might be a terrible project or a good quality one maintained by facebook, but you wouldn't know from the name. Because of the name, it'll be at least somewhat downloaded if that's a common need. It makes grouping by org difficult too.

Yeah I agree. It would be unfortunate if for example I were to register a crate called 'json' or 'http' or whatever but make it shit.
Post reply on HN