🚨 𝗡𝗘𝗪: Galatasaray are interested in signing Leo Messi for 4 months during the MLS break that will be given due to the World Cup.
Galatasaray are willing to match Messi's salary during that period.
— @fotomac
I was someone who through my 20s wasn't even sure if I wanted kids. Work was my passion and I enjoyed it deeply. I filled up two passports. I did well financially. And yet, it's incomparable to the joy and purpose having children has given me. Like, not even close. Its crazy.
My first influence towards doing the clean codes was things like this back in 2008-2009.
C# does have its own unique way of "beautifying" the codes. Hence, one of the most expressive (and arguably, most joyful) languages.
The only drawback is that it's Microsoft's.
C# has been getting many new features in recent versions.
And one that stands out is 𝗽𝗮𝘁𝘁𝗲𝗿𝗻 𝗺𝗮𝘁𝗰𝗵𝗶𝗻𝗴.
What is it?
Pattern matching lets you check if an object has specific characteristics:
- Is null or is not null
- Is of a particular type
- Property has a specific value
I enjoy using it for type checks, and I particularly like switch expressions.
However, the more complex the pattern is, the more I dislike it.
Sure, it can be concise, and you usually write less code.
But you also need to think about readability and maintainability.
Take a look at the example from the code snippet.
Which version do you find more readable?
P.S. If you liked this, consider joining The .NET Weekly - my newsletter with 29,000+ engineers.
Join us here → https://t.co/xip45XpWuB
The essay I just published called "How to Do Great Work" (https://t.co/zzxQTx7JJ3) grew out of a single paragraph in another essay I was writing. It seemed such an important topic that I cut it out and made it into its own essay.
Debugging is extremely important for software engineers, but it's never taught in school.
Here are some top debugging techniques you can follow.
–
Subscribe to our weekly newsletter to get a Free System Design PDF (158 pages): https://t.co/3QCfVgyEwT
Apache EventMesh, a fully #serverless platform used to build distributed #EventDrivenApplications, has graduated to the Top-Level Project of Apache Software Foundation.
Interested in learning more about the main features of #EventMesh? Read #InfoQ: https://t.co/iAJaWC3XjO
#Java
YC W22's @HydrasDB is the fastest Postgres database for analytics.
Learn how they enabled columnar storage, vectorization, and query parallelization to deliver 23x faster performance: https://t.co/YTb6W2z2vB