Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It's always satisfying to be certain, but the meaning of words does shift over time, and sometimes words have multiple origins. Assuming that 70s or 80s programmers knew anything about printing presses is tenuous. Given the long assumption that boilerplate refers to plates on equipment and superior fit of "fill in the blank" documents, it seems more likely that this is the intended meaning. Perhaps the term was heard and misunderstood early on? But the proposed origin doesn't align with the community that's using it to refer to source code.


The replies seem confused.

No one ever called it “boilerplate code” for any reason having to do with boilers or typesetting or water heaters.

It’s a language idiom. It entered common use through reasonably well documented avenues, and that is via typesetting.

We use it because that’s just how language works. All these “it makes more sense to me if it referred to such and such” misunderstand language.


> Assuming that 70s or 80s programmers knew anything about printing presses is tenuous

True, but as you say the meaning of words shift. It is entirely plausible that they were exposed to the term in its bureaucratic meaning, and continued to use it without any connection to actual boilers - the same way we do today.


As to 70's and 80's programmers knowing about printing presses I'll point out that a significant early AI program (1968-1970) was named SHRDLU. One familiar with printing history might recognize those letters as part of the second column of moveable type characters on a Linotype machine (and other type-casting machines.) I didn't look up a reference, but I recall that the first row of bins for hand set hot type letters followed the same convention of letter frequency in English text (for english speaking countries that is.) etaoin shrdlu That string of characters became more well know due to its appearance in hot type set news papers of the era. The characters sometimes accidentally made it to press rather than being pulled as part of an erroneous line of text.

https://en.wikipedia.org/wiki/SHRDLU https://www.wikiwand.com/en/Etaoin_shrdlu


I remember asking my father in the 1980s what "boilerplate" meant, having encountered the term in a newspaper. He relayed it to me in the legal sense of the preliminary standard matter on a contract. He was a software developer starting in the 1960s so I have absolutely no doubt that the bureacratic usage was well known in those circles.


> Assuming that 70s or 80s programmers knew anything about printing presses is tenuous.

I don't think that's the case at all. Lots of work was done computerising newsrooms in that period.


I find more likely that the programming "boilerplate" comes from the legal "boilerplate".




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: