do you just not understand what the point is/was or do you think just giving citizens some money or boosting the countries economy is the same thing as what was being said
kattenluik
There is only one shampoo in the US that I have found that doesn't make my hair insanely oily and split. The shampoo "etc" stuff is insanely wrong.
Not the Dwildcardscord!!!
At least in the Netherlands, there's a bunch of places you can print including your own school for free.
Not to mention a lot of massive companies also use it at every part of the stack, Rust is good at it all and it is beautifully and perfectly suited for tasks like these.
Exactly! The other wrapper enum I named (Option) is the same kind of concept but with Some(value)
and None
.
Here's some examples written on my phone:
match result {
Ok(bool_name) => whatever,
Err(error_type) => whatever,
}
if let Ok(bool_name) = result {
whatever
}
if result.is_ok() {
whatever
}
let whatever = result.unwrap_or_default();
let whatever = result?;
And there's many other awesome ways to use a Result including turning it into an Option or unwrapping it unsafely. I recommend you just search "Rust book" on your search engine and browse it. Here's the docs to the Result enum.
It's a great and probably the best error system I've seen, instead of just throwing errors and having bulky try catch statements and such there's just a result type.
Say you have a function that returns a boolean in which something could error, the function would return a Result<bool, Error> and that's it. Calling the function you can choose to do anything you want with that possible Error, including ignoring it or logging or anything you could want.
It's extremely simple.
That's where the keyword imagine comes in.
I never said it didn't, this just isn't the right place and in this context it does not matter. It's a term we all know the meaning of and that's what's important.
What in my comment implies that it doesn't benefit the "nation"? But your answer seems to be that no, you don't understand.