News for hackers. Stuff that matters.
Re:Pissed off about functional programming (2005) by amithgeorge on Wednesday August 06, 2014 @09:15AM (#8142268)
Isn't because after the increment operation, x has the value 4. Thus even if y has the value 3 and equals 3, it doesn't equal x.
Re:Pissed off about functional programming (2005) by kelvin0 on Wednesday August 06, 2014 @09:39AM (#8142355)
The code line which 'fails' is $y == 3 , I think we are both confused ...