Follow

TIL that Go’s feature of promoting fields or methods from an embedded field to the parent type is also a feature of Plan 9’s C compilers. Thompson calls them “unnamed sub structures.”

plan9.io/sys/doc/compiler.html

Sign in to participate in the conversation
Mastodon

A private Mastodon instance