Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
koenigdavidmj
on May 27, 2011
|
parent
|
context
|
favorite
| on:
These are things in PHP which make me sad
Even in Hebrew, that is a useless error message...token names should mean what the token means, not what it looks like.
archivator
on May 27, 2011
|
next
[–]
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.
burgerbrain
on May 29, 2011
|
parent
|
next
[–]
Presumably, the programmers should pick reasonable token names for the sake of
other programmers
.
They're all just numbers to the tokenizer...
gburt
on May 27, 2011
|
prev
[–]
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: