@andros_rex@lemmy.world to Trans Memes@lemmy.blahaj.zone • 5 days agoprivate String gender;lemmy.worldimagemessage-square18fedilinkarrow-up1592arrow-down10
arrow-up1592arrow-down1imageprivate String gender;lemmy.world@andros_rex@lemmy.world to Trans Memes@lemmy.blahaj.zone • 5 days agomessage-square18fedilink
minus-square@valkyrieangela@lemmy.blahaj.zonelinkfedilinkEnglish8•5 days agoenum implies that you cant change it, unless you were referring to the bool then true.
minus-squareFaridlinkfedilink10•5 days agoYes, instead of boolean. But instead of String, too, for optimization reasons. You could always just add more enum constants to it.
enum implies that you cant change it, unless you were referring to the bool then true.
Yes, instead of boolean. But instead of String, too, for optimization reasons. You could always just add more enum constants to it.
That requires a recompile though
Think of the patch notes though.