HiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · 17 days agoI have a 64-bit genderlemmy.mlexternal-linkmessage-square36fedilinkarrow-up1316arrow-down135cross-posted to: programmerhumor@lemmy.ml
arrow-up1281arrow-down1external-linkI have a 64-bit genderlemmy.mlHiddenLayer555@lemmy.ml to Programmer Humor@programming.devEnglish · 17 days agomessage-square36fedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squareBumblefumble@lemm.eelinkfedilinkarrow-up5arrow-down3·16 days agoimport isFemale def isMale(Person): if isFemale(Person): return False else: return True
minus-squarespongebue@lemmy.worldlinkfedilinkarrow-up10arrow-down1·16 days agopublic boolean isMale() { return !isFemale(); } public boolean isFemale() { return !isMale(); }
minus-square__nobodynowhere@startrek.websitelinkfedilinkEnglisharrow-up5·16 days agoStackOverflowException was unhanded
isMale
import isFemale def isMale(Person): if isFemale(Person): return False else: return True
public boolean isMale() { return !isFemale(); } public boolean isFemale() { return !isMale(); }
StackOverflowException was unhanded