avatar

Hsin-Hao Yu's Personal Blog

03 Feb 2021

The Grammar of Tree

In the 70’s, it was fashionable for intellectuals to abuse the term “grammar” to refer to any underlying principles. In one of his essays, Italo Calvino used the term “the grammar of tree” to refer to…. essentially developmental plant biology. I thought that was pretentious. But heh, in R programming, people are talking about the grammar of graphics and grammar of data manipulation again. It’s fashionable to call functions “verbs” again. Hello, structuralism! (PS: A philosopher friend informed me that this abuse of the word grammar started with Wittgenstein)
02 Dec 2020

Micro: Python joke

Idea: a Python dialect called Pynchon (after Thomas Pynchon). A pynchonic code is probably not very pythonic. Brevity is highly discouraged. Variable names should be all puns. In fact, Pynchon should be a concatenative language like Forth. This way, statements can be chained together into a longer and longer statement… until the entire program is one single statement.
01 Jan 2018

Micro: Turing dream

Turing once dreamed that he was a Turing machine. When he woke up, he wondered if it was him who dreamed of being a Turing machine, or if it was a Turning machine which dreamed that it was Turing - a koan from a programming book published in Taiwan)