Male/Female comes under the category 'Gender'
What category does Living/Deceased come under?
I'm writing a webservice that clients will use, and data will come back like this:
person.Name = "Jeff"
person.Gender = GenderEnum.Male
person.Alive = AliveEnum.Alive or AliveEnum.Deceased
I need to use a clinical and non-offensive word instead of 'Alive' that is professional and makes sense, but I can't think of anything.
Also, person.Alive = AliveEnum.Deceased
is a weird way to phrase it because Alive means what it means.
enum
value? Why not justperson.Alive = TRUE/FALSE
? – Janus Bahs Jacquet Aug 11 '13 at 13:37person.Alive = AliveEnum.Deceased
is confusing you.person.Alive
will (generally) betrue
orfalse
, and as those are perfectly good to describe whether a person is alive or not,person.Alive
is entirely reasonable. The propertyperson.Alive
is different from the valueAliveEnum.Alive
: you can useAlive
in more than one context. – Andrew Leach♦ Aug 12 '13 at 7:11