Rust: Programming a Guessing Game

  Рет қаралды 2,245

The Dev Method

The Dev Method

Күн бұрын

Пікірлер: 13
@matthewsorg656
@matthewsorg656 3 ай бұрын
At 19:30, why do you need to move the let mut guess inside the loop? Shouldn't the io.stdin().readline(&mut guess) be reassigning guess? It's unclear to me why you need to reallocate guess every loop.
@adityakadam024
@adityakadam024 Жыл бұрын
Is Mutable same as static in C/C++
@adityakadam024
@adityakadam024 Жыл бұрын
whenever i open VS code from command prompt all my prior saved workspaces get deleted. I've to add them back to workspace like every time. this happens only in case of cargo.
@JeremiKress
@JeremiKress 2 жыл бұрын
Nice beginner friendly tutorial. Subscribed!
@awdsqe123
@awdsqe123 Жыл бұрын
One little comment at 18:50, because of your excelent error handeling while parsing you wouldn't be able to close the program by typing a string, only by ctrl-c.
@daanvanhove9657
@daanvanhove9657 Жыл бұрын
Thanks mate
@mariopaesdealmeidajunior5375
@mariopaesdealmeidajunior5375 2 жыл бұрын
Great job!
@許至宇
@許至宇 2 жыл бұрын
What is the theme you applied to your VScode?
@TheDevMethod
@TheDevMethod 2 жыл бұрын
I used Synth Wave ‘84
@GlobalYoung7
@GlobalYoung7 2 жыл бұрын
😊 thank you
@DevonBagley
@DevonBagley 2 жыл бұрын
Oh.. that's weird, I thought the title was Rust programming: A guessing game. I was like 😐 Glad I am not the only one that feels like programming rust is a guessing game. Just keep refactoring until it compiles, and your previously simple elegant implementation is a bloated mess of spaghetti.
@oddmerlin9797
@oddmerlin9797 2 жыл бұрын
Honestly that mostly stems from not being familiar enough. I felt the same using C and trying to deal with pointers and references. I’m learning rust now and I’m in the exact same boat again
@DevonBagley
@DevonBagley 2 жыл бұрын
@@oddmerlin9797 With the majority of my experience being weakly typed languages where every variable is basically a reference pointing to an arbitrary value keeping all of the information about types and ownership in mind requires a lot of additional mental energy because you are doing a lot of work that other languages would do for you at the expense of performance or memory waste.
Rust: Variables, Data Types, Functions
14:22
The Dev Method
Рет қаралды 1,4 М.
Being Competent With Coding Is More Fun
11:13
TheVimeagen
Рет қаралды 113 М.
Ice Cream or Surprise Trip Around the World?
00:31
Hungry FAM
Рет қаралды 19 МЛН
За кого болели?😂
00:18
МЯТНАЯ ФАНТА
Рет қаралды 2,8 МЛН
Who's spending her birthday with Harley Quinn on halloween?#Harley Quinn #joker
01:00
Harley Quinn with the Joker
Рет қаралды 27 МЛН
Disrespect or Respect 💔❤️
00:27
Thiago Productions
Рет қаралды 40 МЛН
Rust: Starting a Workspace
27:47
The Dev Method
Рет қаралды 8 М.
Creating a Guessing Game in the Rust Programming Language
12:47
Coding Cleverly
Рет қаралды 102
Rust: Closures
19:53
The Dev Method
Рет қаралды 17 М.
Rust: Weak References
19:40
The Dev Method
Рет қаралды 4,1 М.
Unreasonably Easy Console Apps in Rust
1:54:16
Tsoding Daily
Рет қаралды 104 М.
Become a bash scripting pro - full course
36:00
CODE IS EVERYTHING
Рет қаралды 67 М.
Programming a Guessing Game in Rust!
13:22
Let's Get Rusty
Рет қаралды 122 М.
Rust: Iterators
20:07
The Dev Method
Рет қаралды 15 М.
All Rust string types explained
22:13
Let's Get Rusty
Рет қаралды 182 М.
СКОЛЬКО СТОИТ КАЖДЫЙ КОМП APPLE? (Ч.1)
0:37
ТЕСЛЕР
Рет қаралды 268 М.
Q Mobile SL 100 Best Mobile Phone
0:44
Gaming world
Рет қаралды 938 М.
Tesla Phone ВЫЙДЕТ!?
0:39
ÉЖИ АКСЁНОВ
Рет қаралды 257 М.