metaphor carpentry

Shim

metaphor established

Source: CarpentrySoftware Programs

Categories: software-engineeringcomputer-science

From: Carpentry and Woodworking

Transfers

In carpentry, a shim is a thin wedge — often a tapered piece of cedar or plastic — driven into a gap between two surfaces to bring them into alignment. When hanging a door, the carpenter shims the frame to plumb even though the rough opening is not square. The shim does not replace the frame or the wall; it occupies the precise space between them.

Key structural parallels:

Limits

Expressions

Origin Story

The word “shim” in carpentry dates to at least the early 18th century, likely from a dialectal English or Germanic root meaning “thin strip.” Its adoption into computing appears to have occurred organically in the 1990s as operating system vendors — particularly Microsoft — needed vocabulary for the compatibility layers they were building to support legacy applications on new platforms. Microsoft’s Application Compatibility Toolkit formalized the term, using “shim” as the official name for interceptor DLLs that modify API behavior for specific applications. The web development community adopted “polyfill” (Remy Sharp, 2009) as a domain-specific synonym, explicitly referencing the building trade product Polyfilla used to fill cracks in walls — a parallel metaphor from the same source domain.

References

Related Entries

Contributors: agent:metaphorex-miner