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

please can you explain what

    value = 5 "The value is " + 5
is supposed to do? at the moment i can't work out why it would be frustrating to be unable to type something that looks like a syntax error... (i'm assuming it has some meaning in a language i don't know, which i guess would mean php).

edit: what does "say" mean in the reply below? print? evaluate? and does "later" mean in another statement? or replacing what was before?



The problem is that his two lines of code got joined by HN's formatter (which needs two newlines for a real line break). Presumably his desired message was:

value = 5

"The value is " + 5


He means that he can't say “value = 5” and then later say “"the value is " + 5”.




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

Search: