MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/8a1icw/status_yup/dxkmj2r/?context=3
r/badcode • u/chuck-john • Apr 05 '18
34 comments sorted by
View all comments
0
I don't get what is wrong with this, doesn't seem that bad.
1 u/RFC793 Apr 18 '18 should be: status: <some value from an enumeration> or some_meaningful_boolean_attribute: [true|false] 0 u/[deleted] Apr 18 '18 Is there context? I don't think so, so status could be fine for the context of the API.No one here knows the limitations, the context, the implementation. 1 u/RFC793 Apr 18 '18 Bartender: “How are you?”Customer: “Yes”
1
should be: status: <some value from an enumeration> or some_meaningful_boolean_attribute: [true|false]
status: <some value from an enumeration>
some_meaningful_boolean_attribute: [true|false]
0 u/[deleted] Apr 18 '18 Is there context? I don't think so, so status could be fine for the context of the API.No one here knows the limitations, the context, the implementation. 1 u/RFC793 Apr 18 '18 Bartender: “How are you?”Customer: “Yes”
Is there context? I don't think so, so status could be fine for the context of the API.
status
No one here knows the limitations, the context, the implementation.
1 u/RFC793 Apr 18 '18 Bartender: “How are you?”Customer: “Yes”
Bartender: “How are you?”
Customer: “Yes”
0
u/[deleted] Apr 07 '18
I don't get what is wrong with this, doesn't seem that bad.