Just because it's a return doesn't make it not binary. However, when returning gender, you'd generally want to either convert it to a string or return it as an enum so it's easier to understand than "0", because the reader doesn't necessarily know if 0 is male or female. I just didn't want to write all that.
Just because it's a return doesn't make it not binary. However, when returning gender, you'd generally want to either convert it to a string or return it as an enum so it's easier to understand than "0", because the reader doesn't necessarily know if 0 is male or female. I just didn't want to write all that.