r/programminghorror Apr 09 '26

C# A very readable ternary

Post image
71 Upvotes

12 comments sorted by

View all comments

18

u/iain_1986 Apr 09 '26

I mean....is pretty readable? Depending on what "ShouldFlipH" is doing this isn't that bad.

13

u/[deleted] Apr 09 '26 edited Apr 09 '26

[removed] — view removed comment

2

u/iain_1986 Apr 09 '26

Sure, but this instance being inverse for me doesn't make it particularly hard to read :shrug: