Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
adelevie
on Feb 10, 2010
|
parent
|
context
|
favorite
| on:
XHP: A New Way to Write PHP (from Facebook)
Rendered html that will be sent has an http response should have ending tags. That doesn't mean the programmer/designer has to write them: #a dumb ruby example: def p(content) "<p>"+content+"</p>" end
p "hello" #=> "<p>hello</p>"
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
p "hello" #=> "<p>hello</p>"