You realize It’s just an example right?
You realize It’s just an example right?
Rust has an official online book that literally has everything you’d ever need to know in it, read through it and you’re set.
I see you you’ve decided to take the road of not reading anything that has been said. There’s no bad usability OR lack of features for literally anyone relevant to these platforms.
This isn’t the job of a Git repository nor is it for GitHub, this is an issue for developers which shouldn’t use it as their main download way.
The download zip is not meant for the average person and frankly useless for most projects. I don’t know why you expect a Git repository to explain to you that bare code isn’t compiled or plug and play? How would GitHub know other than you informing them that the app isn’t for Windows?
I don’t think you understand the concept of what Git and GitHub even are and their intentions.
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.
You don’t with Rust either.
are you okay?
Lemmy IS awesome, that doesn’t mean we can’t want it to be better or criticize it. No one said Lemmy isn’t great.
The main Lemmy developers very often don’t have the biggest clue of what they’re doing, and they’ve proven that time and time again. A lot of times they forget normal web practices and rules, and a lot of side things like Jerboa are also just broken.
They also don’t know how to interact with the community or how to be normal people. Let’s not forget they have been working on Lemmy full-time and this is the state we’ve come to, ignoring all the database and security and everything else issues they already had.
This only just federated, but yes things like this do indeed have to be clarified or at least edited afterwards with a tag or something.
I don’t know why you tried to go for a personal jab, my reading comprehension is fine.
I’m obviously asking about what you’re inciting, especially since lemmy.world is a European instance.
what are you even talking about at this point
Haven’t you heard? Every country has year books and OP isn’t leaving the rest of the world out!
I don’t know anywhere else they’re used, but in the US at the end of a “high school” year everyone gets their picture taken and they can put in a quote below their picture, this is then put in a book with the pictures laid out in a grid pattern.
This means that when you go to another page or close the books, the pictures on the other page touch and kiss!?!? No idea why the US would ever allow pictures with minors kissing but who knows.
I’d love their perspective on this and the actual messages sent as this isn’t very useful standalone.
It wouldn’t have been if it kept to the original purpose of some simple tasks and such, but we can’t have nice things.
Fair, I just don’t like it even when it’s humorous as it still speaks of a language in a bad way.
Also, if you use a Unix system to build your projects I can recommend you check out Mold if you haven’t yet as it speeds up the linking significantly.
Ohh I get it, it’s so hilarious that no one knew it was a joke!
I guess you can always laugh at it yourself.