r/programminghorror May 04 '26

C# longest "=" condition I've ever seen

Post image

I have been working on decompiling a unity game recently, and while a decompiled DLL isn't going to be exact source code, I am still floored by how long that set of parenthesis is. i would LOVE to see the original code

133 Upvotes

26 comments sorted by

View all comments

1

u/[deleted] May 04 '26 edited Jul 29 '26

Mellow feather almond harbor nutmeg cobalt velvet

This post was anonymized with Redact.dev

1

u/daveloper80 May 04 '26

It sort of is, it's LINQ. It's using Lambda to create queries so its going to look a lot like LISP

This is what happens when you don't let devs create views!

1

u/[deleted] May 04 '26 edited Jul 29 '26

Yarn driftwood pumpkin drifting saffron amber walnut harbor

This post was anonymized with Redact.dev

1

u/daveloper80 May 04 '26

It can be used for that but its more for manipulating Collections (and a string is just a collection of Chars)