Hacker News new | past | comments | ask | show | jobs | submit login

I don't like mutating variables in an expression, and I don't get why username += '' is executed twice.

I like the declarative feel of the expression, but since it actually changes state, I find it dangerous, since you generally expect expressions to be side-effect free.

Edit: I guess the second username += '' should have been password += ''




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: