Does your game oppress minorities? You are making games, right?
(media.scored.co)
You're viewing a single comment thread. View all comments, or full comment thread.
Comments (26)
sorted by:
"public boolean isMale;" is more efficient and does the same thing, since it is just a binary value.
It's not necessarily more efficient - a boolean is probably going to be padded to a full word, the same as the integer representing the various enum values.