Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

Does this make our #chsarp code cleaner? #dotnet

17,790 görüntüleme • 1 yıl önce •via X (Twitter)

10 Yorum

Stefan Đokić | .NET profil fotoğrafı
Stefan Đokić | .NET1 yıl önce

Absolutely.

Slavka_ profil fotoğrafı
Slavka_1 yıl önce

today.DayOfWeek.ToString(“G”)

Dan Patrascu profil fotoğrafı
Dan Patrascu1 yıl önce

that, unfortunately, doesn't answer the question. Do switch expressions make our code cleaner compared to switch statements?

Kai Radewald 🇪🇺🇺🇦🇮🇱🇨🇦📯🚲🌈♻️💚 profil fotoğrafı
Kai Radewald 🇪🇺🇺🇦🇮🇱🇨🇦📯🚲🌈♻️💚1 yıl önce

I like it more, it's more concise, and doesn't resemble goto so much.

Asadbek Sindarov profil fotoğrafı
Asadbek Sindarov1 yıl önce

C# is going towards being more of a functional programming language. It lacks a couple of things that other fp languages offer, but I still like using C#. I personally like the features for switch expressions and records as well

Michael Marino profil fotoğrafı
Michael Marino1 yıl önce

Yes, and it removes the possibility of forgetting to assign the variable, or assigning to the wrong one in the middle of the switch statement.

Satyabrata Dash profil fotoğrafı
Satyabrata Dash1 yıl önce

This makes it way more cleaner.

A Non Gamer Dev profil fotoğrafı
A Non Gamer Dev1 yıl önce

Of course it's cleaner

elduwani.dev profil fotoğrafı
elduwani.dev1 yıl önce

So pattern matching like #fsharp

Serhat profil fotoğrafı
Serhat1 yıl önce

aren't these kind of additions just make the code non readible? I don't like these kind of changes in c#

Benzer Videolar

How does it feel to be my foot cleaner?
0:25

Sensitive content

How does it feel to be my foot cleaner?

alpha findom ldn

26,130 görüntüleme • 8 ay önce