News for hackers. Stuff that matters.
Re:My Reality Moment. Why did I ever agree to do this? by recursive on Friday September 18, 2015 @07:26PM (#10242628)
The rationale is that + is defined for strings, but - is not.
Re:My Reality Moment. Why did I ever agree to do this? by PhasmaFelis on Saturday September 19, 2015 @01:12AM (#10243374)
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).