Hacker News new | ask | show | jobs
by tablatom 615 days ago
> Why can’t your protocol just be valid JavaScript too?

It is.

1 comments

It’s delivered in JSON, but you need an interpreter. But the actions are just JS assignment statements and a little glue. Your interpreter could as easily handle that, and with far less bytes. Why call a member variable /name when it’s already .name?