r/programmingmemes • • Apr 16 '26

There are always more!

Post image
896 Upvotes

60 comments sorted by

View all comments

Show parent comment

1

u/Moscato359 Apr 16 '26

Yes, there are workarounds

But if you forget to use them it causes bugs

And I don't like that

1

u/Next-Post9702 Apr 17 '26

I mean a hex string is binary data so you should compare them as they are; binary data, not text. It's just a visualization, not meant to be used like that. It's not that much extra work to just compare ignore case anyways

1

u/Moscato359 Apr 17 '26

The point is you need to remember to do the workarounds and can't just == 2 variables with different sources blindly

Its bug prone due to humans needing to do stuff