Accessing a variables works like this at the moment:
<selection-set-text $text="varname">
Keeping the dollar syntax, setting the return value to a named variable could look like this: <response-get-text $="varname">135 karma · joined August 29, 2012
Accessing a variables works like this at the moment:
<selection-set-text $text="varname">
Keeping the dollar syntax, setting the return value to a named variable could look like this: <response-get-text $="varname">You certainly must get used to the stack based approach. I tried to make it more approachable by making stack lookups type based (automatic search for value with matching type) and by using type-prefixed commands, e.g.
<request-send url="..."> // returns response
<response-get-text> // looks up response on the stack and returns string
<selection-set-text> // looks up string on the stack and writes it as text content to the current DOM element.With hyTags one can do a lot of things without server calls and without resorting to javascript (e.g. inserting and deleting new rows, showing a loading indicator, validating input, animations, ...).
https://news.ycombinator.com/item?id=46599403
Could you add that too to showlang?
This works pretty well for composable server side generated view components.
On the other hand, I do think that larger functions should be broken up into smaller parts where it makes sense, e.g. a separate function for parsing each object in the json example.
Unibox groups emails by person. It's different, but it really helps you staying organized.
If you're open to new approaches to email you should try Unibox. It's an email client for Mac (and soon iOS) that lets you browse through your emails by person, so you always have all messages and all attachments with a person in one place.
It works also really well for notifications that contain attachments. If you have e.g. a github account that sends invoices you can select the Github Billing contact, go to the attachment list and have all invoices in one place. I don't copy attachments to the filesystem anymore because it's much easier to find them in Unibox.