C# Digest - C# Digest #417: Waiting to never happen
#417 — May 30, 2022 | View in browser |
C# Digest
Spread the word, build the community, share the knowledge with your friends.
sponsor
The present day reality of going cross-platform with Xamarin.Forms isn’t too shabby, but there are some developer pain points that are being alleviated by .NET MAUI. When the future is so shiny and so close, there isn’t much harm in looking ahead. Here is an opinionated list of 10 things that get better as we evolve to .NET MAUI—let’s go.
this week's favorite
It seems to me that when people discuss functional programming, they spend much time discussing side effects and how to avoid them. Sometimes, they almost forget that non-deterministic behaviour is also something to avoid.
The idea of a binary decision can be found in many places in our field : true or false, 1 or 0, tabs or spaces - it's either one or the other, though in in the last example there is only real choice…
Unusual optimizations; ref foreach and ref returns
A really interesting feature quietly slipped into C# 7.3 - interesting to me, at least - but which I’ve seen almost no noise about. As I’ve said many times before: I have niche interests - I spend a lot of time in library code, or acting in a consulting capacity on performance tuning application code - so in both capacities, I tend to look at performance tweaks that aren’t usually needed, but when they are: they’re glorious.
The .NET today is not your parent’s .NET, and there’s a reason why it’s won most loved platform 3 years in a row in the annual StackOverflow developer survey¹. In fact, combining .NET Framework (a little older), with the new .NET Core stuff, it blows everything else out of the water by a longshot.
Performance: Lambda Expressions, Method Groups, and delegate caching
Delegates are used to pass methods as arguments to other methods. The most common delegates are Action, Func<T>, and EventHandler. You can use a lambda expression to provide a delegate or you can use a method group. You can also cache the delegate into a field and reuse the instance when needed.
how did you like this issue?
1 = didn't like it at all and 5 = loved it and shared it with everyone I know
newsletters
Key phrases
Older messages
C# Digest #416: Asynchronous programming in C#
Sunday, May 22, 2022
And more news, tutorials and articles about C# and .NET in this week's issue. #416 — May 23, 2022 View in browser C# Digest Spread the word, build the community, share the knowledge with your
C# Digest #415: Building a Stack Overflow browser as a VS extension
Sunday, May 15, 2022
And more news, tutorials and articles about C# and .NET in this week's issue. #415 — May 16, 2022 View in browser C# Digest Spread the word, build the community, share the knowledge with your
C# Digest #414: Which .NET Design Pattern is Best For Your Next Project
Sunday, May 8, 2022
And more news, tutorials and articles about C# and .NET in this week's issue. #414 — May 09, 2022 View in browser C# Digest Hello, 👋 I've launched Daily Tech newsletter a couple weeks ago. 💥🍾
C# Digest #413: Long-running tasks in a monolith ASP.NET core application
Sunday, May 1, 2022
And more news, tutorials and articles about C# and .NET in this week's issue. #413 — May 02, 2022 View in browser C# Digest Spread the word, build the community, share the knowledge with your
C# Digest #412: Taking .NET MAUI for a spin
Sunday, April 24, 2022
And more news, tutorials and articles about C# and .NET in this week's issue. #412 — April 25, 2022 View in browser C# Digest Spread the word, build the community, share the knowledge with your
You Might Also Like
BetterDev #258 - Build an 8-bit computer from scratch and Home automation with ESP8266
Wednesday, May 1, 2024
Better Dev #258 Apr 30, 2024 Hi all, We come back with a new issue this week. If you like BetterDev, please help spead word out by refer to your friends. Buy me a coffee would be great too. Build an 8-
Interface Interference 👎
Wednesday, May 1, 2024
Amid the AI device dunking, should everything “just be an app”? Here's a version for your browser. Hunting for the end of the long tail • April 30, 2024 Interface Interference The problem
Some Tesla Supercharger jobs get a jolt
Tuesday, April 30, 2024
Plus: Amazon CodeWhisperer changes its name and Arc gets a Windows version View this email online in your browser By Christine Hall Tuesday, April 30, 2024 Welcome to TechCrunch PM, bringing you the
Relief From Tinnitus: Free Discovery Call!
Tuesday, April 30, 2024
Do you suffer from tinnitus or a ringing in your ears? 1 in 3 adults over the age of 65 will suffer from this condition and often don't know there are things you can do to help. Our friends at
WebAIM April 2024 Newsletter
Tuesday, April 30, 2024
WebAIM April 2024 Newsletter Read this newsletter online at https://webaim.org/newsletter/2024/april Feature Web Accessibility in the 2024 Presidential Campaigns WebAIM's John Northup ran the US
👀 Being More Productive on a Smaller Screen — How to Hide Games on Steam Family Sharing
Tuesday, April 30, 2024
Also: What to Expect From Apple's "Let Loose" Event, and More! How-To Geek Logo April 30, 2024 Did You Know The letter J is the only letter that makes no appearance on the Periodic Table.
PEP 686, Lazy Evaluation, Serverless Python, and More
Tuesday, April 30, 2024
PEP 686: Make UTF-8 Mode Default #627 – APRIL 30, 2024 VIEW IN BROWSER The PyCoder's Weekly Logo PEP 686: Make UTF-8 Mode Default This Python Enhancement Proposal outlines making UTF-8 the default
Daily Coding Problem: Problem #1427 [Easy]
Tuesday, April 30, 2024
Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Amazon. Given an array and a number k that's smaller than the length of the array,
🎙 My advice for film + TV creatives on the AI wave
Tuesday, April 30, 2024
Learning AI fast + Karate Kid references
Ranked | The Top 20 Countries in Debt to China 💸
Tuesday, April 30, 2024
The 20 nations featured in this graphic each owe billions in debt to China, often posing concerns for their economic future. View Online | Subscribe Presented by Voronoi: The App Where Data Tells the