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

Even in Hebrew, that is a useless error message...token names should mean what the token means, not what it looks like.


Presumably, the tokenizer doesn't know anything about the meaning of the tokens it's extracting. It's the parser's job to attach meaning to tokens.


Presumably, the programmers should pick reasonable token names for the sake of other programmers.

They're all just numbers to the tokenizer...


For unexpected token I think what it looks like is more valuable. Unfortunately most English PHP developers don't speak Hebrew. =\




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

Search: