It's because they wanted to hack control flow functionality into expressions. Returning None is actually returning something, but never is just a placeholder for any type when they want to do things that may exit the expression entirely. This is an example in the docs
let num: u32 = match get_a_number() {
Some(num) => num,
None => break,
};
Break exits the expression without ever producing a value.
This is an unfortunate wart to appease a desire to those that want to be able to write code like they do in legacy languages. There should have been better ways to do this without being a hack IMO
This is a pretty straightforward utility function that wouldn't be that hard to test. It's normal to have standards for code coverage as part of the review process, I don't code in C but I'd be surprised if setting any of that up is actually that burdensome.
I disagree with your reference of that quote being applicable here though. In fact, adding unit tests is the exact opposite: that quote is saying 'if your answer is "make less mistakes" ....' Unit tests in general are an acceptance of the fact that we will fail to be perfect and we need to mitigate that with extra checks. The article already said it had two human reviewers, so they're not opposed to extra process to help ensure quality, unit tests are just another (actually very cheap) extra step.
Ya that's true for multiengine in general. I just didn't know if there was any other sequencing needed for the 787 (like move flaps from 5 to 4) because I know nothing about flying such large planes.
Boeing has plenty of problems, including many issues with the 787, but air India is not an airline I'd trust. The airline is responsible for maintenance and ensuring their pilots are qualified, if I had to bet, I'd say the issue was in one of these areas.
It's not the article I'm talking about, it's just the general conversation. Trump should be in jail but trying to get everyone to talk about things like white privilege has pulled off enough of the population to somehow keep as an actual presidential candidate.
Does this mean we're in the upside down now? Sure feels like it
It's because they wanted to hack control flow functionality into expressions. Returning None is actually returning something, but never is just a placeholder for any type when they want to do things that may exit the expression entirely. This is an example in the docs
Break exits the expression without ever producing a value.
This is an unfortunate wart to appease a desire to those that want to be able to write code like they do in legacy languages. There should have been better ways to do this without being a hack IMO
What I learned in Texas is that almost everything is a toll road too. So you have to pay to use the roads each time.
This season was great, feels like they're finally getting their groove back
Ya that one has been known for a while
An appropriate acronym: American Secret Service = ass
This is a pretty straightforward utility function that wouldn't be that hard to test. It's normal to have standards for code coverage as part of the review process, I don't code in C but I'd be surprised if setting any of that up is actually that burdensome.
I disagree with your reference of that quote being applicable here though. In fact, adding unit tests is the exact opposite: that quote is saying 'if your answer is "make less mistakes" ....' Unit tests in general are an acceptance of the fact that we will fail to be perfect and we need to mitigate that with extra checks. The article already said it had two human reviewers, so they're not opposed to extra process to help ensure quality, unit tests are just another (actually very cheap) extra step.
No unit test?
Trump wants more local oil production, but the price doesn't warrant it, this is how they do it.
What does race have to do with anything said? Is Spanish (or Spaniard idk what's correct) a race?
Ya that's true for multiengine in general. I just didn't know if there was any other sequencing needed for the 787 (like move flaps from 5 to 4) because I know nothing about flying such large planes.
Also gear should probably be retracted first (though I don't actually know for certain for this aircraft)
Boeing has plenty of problems, including many issues with the 787, but air India is not an airline I'd trust. The airline is responsible for maintenance and ensuring their pilots are qualified, if I had to bet, I'd say the issue was in one of these areas.
Paintballs can blind you
I took BART from the airport a couple months back, holy shit was it loud, I would go deaf if I had to keep riding that.
Npr was talking about this yesterday on the radio, it's apparently very common.
He was born in New York
That's very similar to a line from Hook
I hate musicals, thanks for the heads up
It's not the article I'm talking about, it's just the general conversation. Trump should be in jail but trying to get everyone to talk about things like white privilege has pulled off enough of the population to somehow keep as an actual presidential candidate.