@Thelie@sh.itjust.works to Programmer Humor@programming.devEnglish • 19 days agoProgramming as a hobby means I can do whatever I want!sh.itjust.worksimagemessage-square15fedilinkarrow-up1235
arrow-up1235imageProgramming as a hobby means I can do whatever I want!sh.itjust.works@Thelie@sh.itjust.works to Programmer Humor@programming.devEnglish • 19 days agomessage-square15fedilink
minus-square@jimitsoni18@lemmy.ziplinkfedilink4•17 days agoAlso you can use enums insteas of string literals
minus-square@Thelie@sh.itjust.worksOPlinkfedilink1•16 days agoI’m not sure how I would go about this in an elegant way since I’m matching the string I get from a message…
minus-square@jimitsoni18@lemmy.ziplinkfedilink1•9 days agoIf the message used enums for actions/procedures like SPAM_MEMES, then using enums would be more performant
Also you can use enums insteas of string literals
I’m not sure how I would go about this in an elegant way since I’m matching the string I get from a message…
If the message used enums for actions/procedures like SPAM_MEMES, then using enums would be more performant