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

Hyperscript is designed to be easy to read when embedded within html. The xtalk[1] syntax is more verbose and stands out. This is intentional and is made up for, to an extent, by more expressive features like relative position expressions, CSS literals and so on:

  on click toggle .active on the next <div/>

Certainly not for everyone but it is being used in production in multiple applications.

1 - https://en.m.wikipedia.org/wiki/HyperTalk



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

Search: