Obfuscation
It's better to use 0 and 1 instead of F and M if you want to obfuscate your data to make it difficult for other programmers to understand it.
Otherwise, no, there's no advantage.
Gender Bender #1
Male pigs, like some other male animals, are castrated if they're going to be used for food and not breeding, because it improves the meat quality.
The application originally just tracked males and females. But now it must track three sexes: male, female, and barrow (a castrated pig). It would be a pain to change that if somebody had decided to use 0 and 1 in a bit field for the sex.
Gender Bender #2
Internationalization. If your application might find its way into other languages, consider using a "code table" to assign the values: GENDER_MALE
, GENDER_FEMALE
, and GENDER_NEUTER
. This allows your application to look up the value that should be displayed to the user, while making the assocation in the database unquestionably clear (e.g., GENDER_FEMALE
+ EN
+ DOG
= bitch; GENDER_MALE
+ FR
+ HUMAN
= homme).
This will depend on your business requirements, problem domain, and time constraints. The more flexible of a solution you envision the more time you will have to spend.
Truly, the days of having to pinch every bit for all its worth are over; be explicit.