Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Why do we call it “boilerplate code?”. Parent comment
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.
There are no comments on this comment yet.
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.