paulgorman.org

< ^ txt

Wed Aug 29 09:20:48 EDT 2018 Slept from nine-thirty to six without waking. High of eighty-three today. 50% chance of thunderstorms. Stopped at Starbucks on my way to work. Work: - Check Postoffice backup Done. - Investigate Landlorder for security A bit, but we'll have to wait for Carmen to get back. Home: https://go.googlesource.com/proposal/+/master/design/go2draft-generics-overview.md > If we are to add generics, we want to do it in a way that gets as much flexibility and power with as little added complexity as possible. > Note on terminology: Generalization based on type parameters was called parametric polymorphism when it was first identified in 1967 and for decades thereafter in the functional programming community. The GJ proposal, which led to adding parametric polymorphism in Java 5, changed the terminology first to “genericity” and eventually to “generics”. All imperative languages since Java that have added support for parametric polymorphism have called it “generics.” We make no distinction between the terms, but it is important to emphasize that “generics” means more than just generic data containers. > There are many general algorithms we might want to implement as plain functions that would apply to a variety of types, but every function we write in Go today must apply to only a single type. ...in other words, functions that can appropriately handle operands of diverse type. Reread Lovecraft's Horror at Redhook (having recently finished Black Tom). More racist than I remembered. To be specific, Lovecraft shows a dehumanizing horror of the other, including but extending beyond ideas of racial inferiority. https://en.wikipedia.org/wiki/Mormo > a female spirit in Greek folklore, whose name was invoked by mothers and nurses to frighten children to keep them from misbehaving. > Mormo was one of the same class of bugbears as Empusa and Lamia. https://en.wikipedia.org/wiki/Empusa > a shape-shifting female being in Greek mythology, said to possess a single leg of copper, commanded by Hecate, whose precise nature is obscure. https://en.wikipedia.org/wiki/Wirry-cow > In Scotland, a wirry-cow [ˈwɪɾɪkʌu, ˈwʌɾɪkʌu] was a bugbear, goblin, ghost, ghoul or other frightful object. […] from _worry_, in its old sense of harassment scholiast: a commentator on ancient or classical literature Lovecraft dabbling in a little alliteration: > […] the leprous limbs of phosphorescent Lilith were laved. Breakfast: cafe latte, egg sandwich Lunch: falafel bowl, coffee Dinner:

< ^ txt