Re:Ideological Bias in the Psychology of Sex and Gender [pdf]
by Retr0id on Friday August 19, 2022 @07:22AM
(#32519679)
You are writing a client for an API, to be deployed at scale. The API returns objects of type A or B, but occasionally returns something else - not as an error, it's just what happens to be in the server's database. You'd still write code and test-cases to deal with the not-A-or-B instances, right?
[ Parent
| on HN ]
Re:Ideological Bias in the Psychology of Sex and Gender [pdf]
by fallingknife on Friday August 19, 2022 @08:38AM
(#32520240)
But this is not an API and it is a disorder so equivalent to an error. But who says you wouldn't want to handle it in either case?
Re:Ideological Bias in the Psychology of Sex and Gender [pdf]
by thrown_22 on Friday August 19, 2022 @07:49AM
(#32519855)
>You'd still write code and test-cases to deal with the not-A-or-B instances, right?
I've seen this one before. It was called the something something solution and was very popular in Germany a while back.