A Very Elegant Way to Write C# Code - Switch Expressions

  Рет қаралды 13,478

Milan Jovanović

Milan Jovanović

17 күн бұрын

Пікірлер: 30
@WDGKuurama
@WDGKuurama 15 күн бұрын
Noooo, it just needed the one liner func syntax with '=>' at the second line to be perfect 😢
@MilanJovanovicTech
@MilanJovanovicTech 14 күн бұрын
Oh well...
@norlyssuarezvalderrama5330
@norlyssuarezvalderrama5330 15 күн бұрын
Great 👍
@MilanJovanovicTech
@MilanJovanovicTech 14 күн бұрын
Thank you! Cheers!
@YehorBachurinDev
@YehorBachurinDev 15 күн бұрын
👍
@MilanJovanovicTech
@MilanJovanovicTech 15 күн бұрын
👍
@mfsbo
@mfsbo 12 күн бұрын
Readability of code that human writes is far more important to converting it for machines. Thanks for sharing what is offered but its like spreading the butter with your folk lifter is not needed but can be done.
@MilanJovanovicTech
@MilanJovanovicTech 11 күн бұрын
"spreading the butter with your folk lifter" 😂
@Claucker7
@Claucker7 14 күн бұрын
not readable
@MilanJovanovicTech
@MilanJovanovicTech 14 күн бұрын
Ok
@vijayarajan-bt5fk
@vijayarajan-bt5fk 14 күн бұрын
Why _F only for f finally??
@MilanJovanovicTech
@MilanJovanovicTech 14 күн бұрын
It's how you write the default case
@rikudouensof
@rikudouensof 15 күн бұрын
I would not advice this. Codes should be readable for the future people
@JollyGiant19
@JollyGiant19 15 күн бұрын
But this is readable
@rikudouensof
@rikudouensof 15 күн бұрын
@@JollyGiant19 my take is that code should be in a way that junior devs or intern devs can understand
@ryan-heath
@ryan-heath 15 күн бұрын
Future people would thank you when you don’t use (then) outdated constructs. 😉
@WDGKuurama
@WDGKuurama 15 күн бұрын
Not using new syntax while lew devs will most likely use them because you think it wouldn't be readable sounds very wrong. Especially with such a simple and common pattern. It just looks that way on a lot of other languages, especially more on functional programming ones.
@rikudouensof
@rikudouensof 15 күн бұрын
@@WDGKuurama it alswys starts with the simple patterns untill someone cooks technical dept
Completely Get Rid of Exceptions Using This Technique
19:24
Milan Jovanović
Рет қаралды 20 М.
The New ID To Replace GUIDs and Integers in .NET
8:54
Nick Chapsas
Рет қаралды 58 М.
I Can't Believe We Did This...
00:38
Stokes Twins
Рет қаралды 104 МЛН
THEY made a RAINBOW M&M 🤩😳 LeoNata family #shorts
00:49
LeoNata Family
Рет қаралды 37 МЛН
3M❤️ #thankyou #shorts
00:16
ウエスP -Mr Uekusa- Wes-P
Рет қаралды 15 МЛН
The Best Way To Organize Your Program.cs In ASP.NET
6:59
Amichai Mantinband
Рет қаралды 12 М.
Small things to take care while writing code l Programming tips.
2:38
CatchyBytes By Techy
Рет қаралды 10
Vim Tips I Wish I Knew Earlier
23:00
Sebastian Daschner
Рет қаралды 43 М.
Simulating the Evolution of Rock, Paper, Scissors
15:00
Primer
Рет қаралды 501 М.
Jon Snow real identity hints through the show
5:06
Recap Fridays
Рет қаралды 7 МЛН
Intel's CPUs Are Failing, ft. Wendell of Level1 Techs
23:59
Gamers Nexus
Рет қаралды 397 М.
Your Seiko Might Be Fake
5:15
Clicky Bezel
Рет қаралды 51 М.
НЕ ПОКУПАЙ СМАРТФОН, ПОКА НЕ УЗНАЕШЬ ЭТО! Не ошибись с выбором…
15:23
Как слушать музыку с помощью чека?
0:36