r/badcode • • Jul 08 '19

c# While reviewing code today...

Post image
696 Upvotes

57 comments sorted by

View all comments

1

u/Bourdain179 Jul 08 '19

Why make inline 1 line code when you can refactor it into a function that doesn't do anything (does it refresh the page?)