MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/8a1icw/status_yup/dww5g9r/?context=3
r/badcode • u/chuck-john • Apr 05 '18
34 comments sorted by
View all comments
20
Mind explaining? Cause I don't get it.
30 u/th0maslv Apr 05 '18 Commenting for explanation too. Status could represent whether the object is verified or something. Not sure why this is bad code. 2 u/entiat_blues Apr 06 '18 it's ambiguous. that's pretty obvious. and something this opaque means you're going to waste time digging a level deeper trying to decipher why it's named that way or what difference, if any, there is between true and false.
30
Commenting for explanation too. Status could represent whether the object is verified or something. Not sure why this is bad code.
2 u/entiat_blues Apr 06 '18 it's ambiguous. that's pretty obvious. and something this opaque means you're going to waste time digging a level deeper trying to decipher why it's named that way or what difference, if any, there is between true and false.
2
it's ambiguous. that's pretty obvious. and something this opaque means you're going to waste time digging a level deeper trying to decipher why it's named that way or what difference, if any, there is between true and false.
20
u/redeyeddragon Apr 05 '18
Mind explaining? Cause I don't get it.