
Senior Software Engineer @Microsoft | .NET Fanatic | UWP Enthusiast | Tech Junkie | Gamer | Extreme Sports Lover | Father | Opinions are my own | 🇺🇸🇬🇧🇭🇺
Seattle, WA
Joined December 2009
- Tweets4.7K
- Following52
- Followers165
- Likes3.7K
No, they don't. They propose giving him shares. Which will worth even more in a year (or five) , but it doesn't matter because very few of them will be sold, so their monetary value is irrelevant.
Tesla proposes giving Elon Musk $29 billion so he stays CEO theverge.com/news/718032/tes…
26
Emil Petro retweeted
🚀 Exciting times for Windows app developers! The Microsoft Store is now used by over 250 million monthly active users, offering seamless integration, automatic updates, and new opportunities for discovery and user acquisition. #MicrosoftStore #MSBuild
Explore what’s new at blogs.windows.com/windowsdev…
Use return value that is VALID, not what's "easy to consume". If an empty array is a valid response in your domain, use that. If you always expect to have one or more values in the collection, return null. Null checks can be enforced via the type system, emptyness checks can not.
I always prefer empty collections over null in C#.
You will typically iterate over a collection in a loop.
With null, the calling code must handle the null case and check for null before accessing any collection elements.
We're introducing more responsibility to the caller.
Why not make it easier?
I do this instead (pick one):
- C# 12 collection expressions → []
- Enumerable.Empty
- Array.Empty
- a new List()
Makes life easier for everyone.
P.S. Here are 8 more Clean Code tips: milanjovanovic.tech/blog/8-t…
51
I wish people would stop over-sensationalizing this $56 billion estimated value. It's completely useless and irrelevant. It's not about money, it's about ownership and voting power in his own company.
NEWS: Tesla and Elon Musk today officially filed their appeal with Delaware’s Supreme Court after a state judge rejected his $56 billion compensation package for the second time. qz.com/tesla-elon-musk-compe…
1
30
While it's an interesting publicity stunt, what I'd love to see is existing gas stations adding EV chargers to a few of their parking spots.
Since traditional gas stations are literally everywhere, this would virtually eliminate the "EV range anxiety".
36
Emil Petro retweeted
Today is a bit of a special day, as we can finally announce something I've been planning for and working on for almost two years now: UWP support for .NET 9 and Native AOT! Bringing all Windows UI frameworks to parity on modern .NET at last. Try it out! 🚀
devblogs.microsoft.com/ifdef…
Today I finally realized that LFG nowadays stands for "let's f*ing go" and not "looking for group" 🤦♂️
1
1
122
So... where is my FSD Trial?
Reasonable question. Should get solved in the next few days. This affected some vehicles (~12% of total fleet) previously on a base software branch. Cant provide an exact date but should have you on the most updated build this coming week.
Sorry for my delay in responding as I didn’t want to provide bad info without confirming with the @teslasi team.
56
After seeing the new Task.WhenEach API, I couldn't help but write up a quick proposal for another super helpful Task API github.com/dotnet/runtime/is…
1
64
I feel like this Reuters article was an IQ test and by looking at that dip in the stock price, a whole lot of people failed it.
You can't just blackmail a company to reveal yet to be announced info by making up some FUD and then demanding clarification.
1
48
























