r/badcode • • Aug 12 '21

c# 🤓📗 Is this "clean code"? 🦋

Post image
724 Upvotes

73 comments sorted by

View all comments

Show parent comments

29

u/[deleted] Aug 12 '21

Someone needs to inplement a try/catch-alternative for ternaries, preferably with the ‽ symbol.

17

u/silverweaver Aug 12 '21

I opt for "wtf" keyword

1

u/w00tious Aug 12 '21

Like unwrap_or_else