Your daily dose of C# shit.

Joined May 2018
The Dutch government was forced to release the source code of their DigiD digital authentication iOS app. It is written in C#. github.com/MinBZK/woo-beslui…
461
1,134
1,099
8,890
6,612,793
Feels like someone was getting paid by lines of code.
2
1
4
WHY?!
1
1
3
You might not like it, but this is what peak C# code looks like cc @brungarc
3
1
1
25
God I wish there was an easier way to do this
2,457
9,548
4,030
61,587
Misery loves company, right?
29
46
10
297
At one company I began working at, every app was horrifically buggy, apart from one, that had a 0% Exception rate. I was a bit suspicious, so I went and had a look at the global exception handler. Cc @shit_sharp
4
7
1
66
ShitSharp retweeted
Is it though? 🤔
16
12
1
162
I just can't resist sharing this:
7
8
1
20
Oh, wow. Look what I just found... 😭
13
2
1
27
ShitSharp retweeted
Some humor for you: meticulously written code... 😊
28
21
10
187
Some people surprised by being able to define `Main` method inside struct. But what if I told you can define entry point inside interfaces with C# 8: ``` interface IAmEntryPoint { static void Main() { Console.WriteLine("C# 8 FTW!"); } } ``` #csharp8
32
64
15
204
ShitSharp retweeted
Dear devs - please stop commenting out old code. You're not going to need it again, and even if you do, source control's got it - it's all good. Thx!
4
7
1
29
ShitSharp retweeted
Found this in production today. I need a drink.
400
2,713
601
7,754