MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1bjjkm6/arejsdevsactuallysane/kvusil9/?context=3
r/ProgrammerHumor • u/jarulsamy • Mar 20 '24
554 comments sorted by
View all comments
Show parent comment
1
I would argue that it should explicitly require a conversion to string. It would improve readability to no end, and make clearer the cause of issues if somebody messes that up and passes an unintended type.
It at least makes the mistake deliberate.
View all comments
Show parent comment
1
u/nommu_moose Mar 21 '24
I would argue that it should explicitly require a conversion to string. It would improve readability to no end, and make clearer the cause of issues if somebody messes that up and passes an unintended type.
It at least makes the mistake deliberate.