MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/cajaak/while_reviewing_code_today/et96s3v/?context=3
r/badcode • u/andesz • Jul 08 '19
57 comments sorted by
View all comments
1
Why make inline 1 line code when you can refactor it into a function that doesn't do anything (does it refresh the page?)
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?)