3 ms·
I love this type of thing in C# because it's such a terse and well designed language. It's easy to make something stand out. A cult favorite of devs at my prev
by slackingoff2017 9y ago
I love this type of thing in C# because it's such a terse and well designed language. It's easy to make something stand out.
A cult favorite of devs at my previous employer was to (ab)use the power of LINQ to try to create the longest single line methods possible. I held the unofficial record for a while with a LINQ statement over 1200 chars. Innocent enough since resharper can unwrap them into sane code but lots of fun
- sixothree 9y agoI love/hate it when someone writes a linq statement and ends with "look, one line".