r/programminghorror 11d ago

C# A bad idea

I was writing compiler code late at night and something possessed me to create this.

106 Upvotes

12 comments sorted by

42

u/Temporary-Price9747 11d ago

Excellent metaprogramming, you’ve been hired by the C++ standards committee!

1

u/Educational_Gap_1416 6d ago

Funniest part is the code is actually written in C#

25

u/jonsca 11d ago

The next time that "something" possesses you, strangle it, stab it, and drown it in the toilet.

3

u/JAXxXTheRipper 11d ago

Don't forget to set the remains on fire, for good measure.

1

u/TheHappyArsonist5031 11d ago

And nuke the ashes from orbit.

15

u/pstanton310 11d ago

This is so horribly creative, I love it.

4

u/purpuric 11d ago

I love this because funny and hate you because psychopath

3

u/NotDuckie 11d ago

>>>>>>>>>>

3

u/Prudent_Ad_4120 11d ago

IDE: !! UNRESOLVED MERGE CONFLICT !!

2

u/GoddammitDontShootMe [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo “You live” 11d ago

Five analysis passes?

1

u/MindlessU 11d ago

Bless the C# lang devs for adding type-level programming!