News for hackers. Stuff that matters.
Re:The Grand Unified Theory of Documentation by chillfox on Friday April 16, 2021 @12:35AM (#26829508)
"(no foobar)"

As someone with English as a second language seeing "foobar" all over the place in lot's of different contexts really confused me a lot early on. Especially when docs started talking about a "foo" and a "bar".

I still don't understand why it is the generic go to word for examples, it makes little sense.

Re:The Grand Unified Theory of Documentation by ansible on Friday April 16, 2021 @03:17AM (#26830604)
The word "foobar" has a long, long history in computers:

http://www.catb.org/~esr/jargon/html/F/foo.html

Re:The Grand Unified Theory of Documentation by Vinnl on Friday April 16, 2021 @02:01AM (#26830083)
Likewise when learning OOP long ago, it seemed like every tutorial used a car with wheels and a steering wheel as examples. Took me a long time afterwards to understand how it could actually be used in practice.
Re:The Grand Unified Theory of Documentation by chillfox on Friday April 16, 2021 @03:07AM (#26830540)
Yeah, the entire car, engine and wheels thing really disconnected OOP from any practical use for me. It really took a long time before I understood how it applied to real code.

If real examples from a blog or accounting software had been used instead then I would likely have understood it a lot easier.

Re:The Grand Unified Theory of Documentation by eru on Friday April 16, 2021 @01:11AM (#26829752)
I guess it's a combination of people following earlier example, and that it sounds funny.

In economics textbooks, companies always produce 'widgets'. https://en.wikipedia.org/wiki/Widget_(economics)