Комментарии:
Do you have rust tutorial for beginners?
ОтветитьExcellent videos thanks! Do any of your other videos show examples of using the newtype wrapper pub struct W<T>(pub T); for trait implementations? Thanks.
ОтветитьDirect to the point! Love it! <3
ОтветитьThis was very informational to watch. Could this also be achieved by writing a function to operate on DirEntry & produce Result<String>? Is there a benefit of adding the trait implementation versus just having a local function?
ОтветитьI love your videos. you have taught me so me great little rust tricks and patterns. Keep up the great work!
ОтветитьForgive me for being dumb but as a c# developer i don't understand the motivation behind what i just watched. Anyone care to explain what the W wrapper thing is for??
ОтветитьI could never find a video explaining a good way to begin to structure a Rust project. This seems like a great way of doing so. Thanks for such a simple and understandable video!
Ответитьvery helpful especially that wrapper pattern
Ответитьi like this channel, the only problem with this channel is that there are too few videos
ОтветитьSmall tip: instead of results.filter_map(|e| e.ok()) you can do results.flatten().
ОтветитьThis is one of the best Rust intro videos that I've ever seen. Thank you!
ОтветитьNice video, thanks. What theme are you using for VSCode?
ОтветитьCongrats for all your videos? I have a little question. Why anyhow is used as dev-dep? Thank you a lot in advance!
ОтветитьIf you don't want to be using a wrapper, you can also simply define your own trait with the appriopriate function and implement it for the extern struct. It is cleaner that way in my opinion but i guess it's a matter of preferences
ОтветитьThe creation of a utils module i would say is an anti pattern, you could would be more readable and clean fitting the utils with related code. Give me your thoughts about it
ОтветитьHey Thanks for good quality content!
May I ask you one question?
How to enable quick fix for creating module?
O! that is so useful! Thank you so much!
ОтветитьGreat content, thanks!
ОтветитьReally good presentation style. I would love to see more of this for different patterns i.e builder. Anyhow thanks for great content.
ОтветитьYou earned my subscription in the first 90 seconds. Lots of useful productivity tips, love it!
ОтветитьOMG! I'm loving the French accent! 🥐☕😀
ОтветитьThis is a great quick start!
ОтветитьI'd love a guide on clap
ОтветитьCode lens is confusing, especially in tutorials, and I hate it in general.
ОтветитьI don't think, creating an error type before you know anything about your code is such a good idea.
I'd just create custom error types depending on the possible results. And sometimes it's enough to just forward some existing error type, especially when doing IO.
I also wouldn't add the prelude at the beginning. I don't really like prelude to begin with, but if I'd add one, I'd add it right before publishing.
The newtype pattern should normally be avoided. This is just a hacky workaround for the orphan rules. If it's needed, I'd rather create custom newtypes.
But in this case, I'd rather create a function or an extension trait.
The utils module is a good idea in my opinion. I create it, if I realize, I need some helper function in multiple places.
I also hope, you somewhere have a template already set up, if you start like this anyway.
snake_case for some of the name and concatcase for some of it, using non-word concatcase for the rest of the name? (direntry_froms) Also, it is difficult to reason as to where does this type come from with this naming scheme. A maze of idiosynchronicities... Consider your code as your message to the rest of the World. The Other People. Or something, Rust is what it is, and it ends up not making this easy, and the base level of contemporary programs complexity simply isn't easy, either.
ОтветитьHi,
I just discovered your channel and I think it’s great !
I’m a PHP developer, and trying to learn rust is quite hard for me.
Could you, by any chance, make a video about understanding rust documentation better (I find it quite hard to read) ?
You could list ways to easily find the method you are looking for.
Also, I feel like in rust there is a lot of ways to do essentially the same thing (say string manipulation), could you explain us maybe the best one to use in a specific case or something like that ?
Thanks for your content !
Ps: t’est français non ? 😅
am i the only person who has no idea what any of this is doing
ОтветитьThis is so awesome and very practical. Thank you!
ОтветитьSorry but the accent is causing me some issues, what is the "xnl" trait in "xnl" type? Can someone clarify this?
ОтветитьAwesome, thanks for this.
Which tool do you use to annotate those lines on the screen?
Omg I love that wrapper pattern, it's like extension methods in kotlin but a little more explicit! I think I'll try naming my wrappers after the crate cause I find W a little mysterious, but I'm definitely using this
ОтветитьThanks for this! Most tutorials asume you know the basic structure. this is so helpful!
ОтветитьLets take a minute to appreciate good quality content like this ❤
Ответить🤯
ОтветитьI thought this is just another video that shows how module in rust works, until that tryfrom method, i fell like a beginner now, thank you so much for the video!
ОтветитьOh my god, this tutorial should be in the first chapters of Rust Lang Book. So simple and clear, you just blew my mind off. Thank you so much, you just got a new subscriber!
ОтветитьYesssss thank you for this!!
Ответитьthis is liquid gold for me
ОтветитьAmazing explanations!
ОтветитьContent and presentation is superb. Thank you.
Ответитьthanks 🤙
Ответить