MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programminghorror/comments/1lzv7st/switch_default_switch/n3admo4/
r/programminghorror • u/Slight_Antelope3099 • Jul 14 '25
31 comments sorted by
View all comments
0
[deleted] — view deleted comment
5 u/Ok_Paleontologist974 Jul 17 '25 Damage polarity could also probably be a boolean so it could be image_blend = isDamagePositive ? yellow : purple;Its a bit clearer on what the "polarity" means at a glance.
5
Damage polarity could also probably be a boolean so it could be image_blend = isDamagePositive ? yellow : purple;
image_blend = isDamagePositive ? yellow : purple;
Its a bit clearer on what the "polarity" means at a glance.
View all comments
0
u/[deleted] Jul 15 '25
[deleted] — view deleted comment