Hacker News new | ask | show | jobs
by recursive 3919 days ago
The rationale is that + is defined for strings, but - is not.
1 comments

That's less a "rationale" and more a "cause," though. If adding quoted integers always treats them as strings, never integers, then allowing coders to subtract quoted integers as integers can only possibly lead to confusion. One or the other should be removed entirely (probably the second, but what do I know).