3 ms·
The rationale is that + is defined for strings, but - is not.
by recursive 11y ago
The rationale is that + is defined for strings, but - is not.
- PhasmaFelis 11y agoThat'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).