Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Correct.

Basically, I'd see code that looked like this:

    assert(isNumeric(userInput));
    if (!isNumeric(userInput)) {
        return ERR_INVALID_INPUT;
    }


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

Search: