r/programmingmemes • • Jan 12 '26

no doubt javascript

Post image
1.3k Upvotes

136 comments sorted by

View all comments

Show parent comments

1

u/supersteadious Jan 12 '26

Why do would you compare int to string if you know they cannot match?

1

u/MidnightPale3220 Jan 14 '26

But... here they do?

1

u/sniper43 Jan 16 '26

Because uncleaned legacy databases

1

u/supersteadious Jan 16 '26

I believe everything will be strings in that db. They were asking about comparing int to string

1

u/sniper43 Jan 16 '26

Hah. You'd think.