r/ProgrammerHumor • • Mar 20 '24

Meme areJSDevsActuallySane

Post image
14k Upvotes

554 comments sorted by

View all comments

Show parent comment

0

u/[deleted] Mar 20 '24

[deleted] — view deleted comment

0

u/DeathUriel Mar 21 '24

Why would you even give an object to a function that works on strings is the real question. Also, other languages have the toString method and are able to infer that you want to use it when you try to threat an object as a string. This is 100% programmer's fault.