Hop is a stratified language, which means that a single program file contains instructions for both the server and the client. The server executes CPU demanding computations and operations that require system privileges for accessing files or other resources. The clients (of which there may be many such as browsers, cell phones, etc.) are dedicated to executing actions related to the programming of the graphical user interfaces.
The code snippet above illustrates a few concepts.
Given its recent introduction, Hop currently exhibits a number of weaknesses.
Youtube: HOP: A Language for Programming the Web 2.0 starting at 33:50. https://www.youtube.com/watch?v=i7bc6yiJQ0I&feature=channel_page ↩