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

But in this case surely you're better off with

    input = fixInputFormattingIfMalformed(input);
or even

    if (isMalformed(input)) input = fixInputFormatting(input);


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

Search: