This is very helpful, Shawn. Your concise format is great. And I can't tell you how much I appreciate you saying, "let's get started..." and then not making me watch a 90 splash screen. Thank you!
@swildermuth
Жыл бұрын
I appreciate that!
@vssang4035
6 ай бұрын
Great video Shawn... Im a big fan of your teaching style. Easy to follow and understand. Thanks
@shenmajid
Жыл бұрын
Best explanation ever..
@swildermuth
Жыл бұрын
Glad it was helpful!
@seriyezh
Жыл бұрын
Thank you Shawn. Pattern matching is a really powerful tool. The only problem for me personally is that now I use it by default whenever I can, but I need to remember which features are supported by each C# version 😁.
@godfathermikal
Жыл бұрын
I glossed over pattern matching as I didn't really see a need for it. Thought it was more gimmicky than useful. Now, I must retract my original opinion. I really am glad that you take the time to make these coding shorts. The usefulness I have found in them is almost better than a Pluralsight/Udemy subscription. These are actually applicable to the work I do every day. Thank you!
@swildermuth
Жыл бұрын
Glad it was helpful!
@Adminian357
Жыл бұрын
Loving these Shawn!
@swildermuth
Жыл бұрын
Thanks, fun doing them.
@antondoit
3 ай бұрын
Great
@rumbust7793
Жыл бұрын
Took me about 15 minutes in to the video to see the Falcon, have my build of that same same model on a shelf behind me in view when doing conference calls. Mind blown by the pattern matching, I'm guessing this is a "Core" feature? My current project dreams of going to Core but there's currently no real reason to move but we have considered doing some reasonably free standing part in Core just to get started.
@AbouLojyn
Жыл бұрын
Awesome
@arjanvandenberg5313
Жыл бұрын
Fully agree with the concise format. Very good and thanks again!
@mazingguitar
Жыл бұрын
I've managed to miss pattern matching feature somehow but it's ultra powerful. It gives you so much power of method logic customization (e.g. where your logic should be different for enumerable regarding their sizes). Great explanation - hope I'll make use of this sooner than later :)
@swildermuth
Жыл бұрын
Awesome!
@a-s733
Жыл бұрын
Very clear. Thanks Shawn
@swildermuth
Жыл бұрын
You got it!
@DominicCronin
2 ай бұрын
I've just subscribed on the basis of this video. I'm still trying to figure out when the pattern-matching switch counts as an improvement to the code. I'm clear that the answer is "Not always". Conciseness isn't always a virtue, especially if you end up with write-only code that the reader has to unpick.
@swildermuth
2 ай бұрын
This difference here is being able to make more concise code that is easier to read and uses fewer allocations. But it's not a big enough difference to try and refactor all your existing code, but it's a nice arrow in the quiver.
@DominicCronin
2 ай бұрын
@@swildermuth Oh - I agree, it's a nice arrow in the quiver, but I've already seen enough examples of people using switch expressions to write unbelievably dense code, and often to put far more logic in a function than makes sense. Conciseness can be beneficial, but use with care!!
@mattbristo6933
Жыл бұрын
Brilliant video
@swildermuth
Жыл бұрын
Thanks!
@clearz3600
Жыл бұрын
Hi, Wouldn't using 'when msg is string' be redundant since it will already be matched as a string using 'string s'
@swildermuth
Жыл бұрын
Yes, not my best example.
@RiversJ
11 ай бұрын
Afraid? I get annoyed when i can't use it as fully as i want to!
Пікірлер: 28