No love for quxx?
What is the history of the use of "foo" and "bar" in source code examples? (2012)
31–40 of 150 posts
Re: What is the history of the use of "foo" and "bar" in source code examples? (2012)
#32Foo Bar came from model trains at MIT - https://news.ycombinator.com/item?id=41069963 - July 2024 (2 comments)
The Origin of Foo and Bar - https://news.ycombinator.com/item?id=14030938 - April 2017 (1 comment)
Kind of related but not really:
foo@bar.com - https://news.ycombinator.com/item?id=24605949 - Sept 2020 (281 comments)
The Foo at bar.com - https://news.ycombinator.com/item?id=10108287 - Aug 2015 (29 comments)
foo@bar.com is a real email address - https://news.ycombinator.com/item?id=3263021 - Nov 2011 (91 comments)
Re: What is the history of the use of "foo" and "bar" in source code examples? (2012)
#33MIT AI Lab back in the 1960s published technical reports containing program code. The military slang 'FUBAR' f'ed up beyond all recognition, was in the student and professor engineering vocabulary. The tradition became to use 'fu' and 'bar' as nominal function names, in same manner as X and Y were nominal variables. Often in the MIT technical reports, one would see 'x = fu(y)' or 'y > bar(z)' and so forth. If you kne…
Re: What is the history of the use of "foo" and "bar" in source code examples? (2012)
#34Surprisingly little. Others? Foo Bar came from model trains at MIT - https://news.ycombinator.com/item?id=41069963 - July 2024 (2 comments) The Origin of Foo and Bar - https://news.ycombinator.com/item?id=14030938 - April 2017 (1 comment) Kind of related but not really: foo@bar.com - https://news.ycombinator.com/item?id=24605949 - Sept 2020 (281 comments) The Foo at bar.com - https://news.ycombinator.com/item?id=1010…
Re: What is the history of the use of "foo" and "bar" in source code examples? (2012)
#35I understand that these variables have a rich and long history, but if you have ever heard a professor or anybody else say "foo" in lecture you will understand why I detest them. They have absolutely no connection to the matter at hand. Since foo is often used before bar, you would think there is an ordering between the two but there doesn't have to be. They are hard to pronounce and easier to confuse. Whenever I giv…
Using foo bar baz qux is lazy when you can easily find countless examples.
Re: What is the history of the use of "foo" and "bar" in source code examples? (2012)
#36Surprisingly little. Others? Foo Bar came from model trains at MIT - https://news.ycombinator.com/item?id=41069963 - July 2024 (2 comments) The Origin of Foo and Bar - https://news.ycombinator.com/item?id=14030938 - April 2017 (1 comment) Kind of related but not really: foo@bar.com - https://news.ycombinator.com/item?id=24605949 - Sept 2020 (281 comments) The Foo at bar.com - https://news.ycombinator.com/item?id=1010…
Re: What is the history of the use of "foo" and "bar" in source code examples? (2012)
#37Earlier quoted context omitted.
Of course it is. What's not clear is what that has to do with women.
I imagine that, due to the societal expectations historically placed on women, they’ve typically had to be “the adult in the room.” Contrast this with men historically being able to get away with acting childishly (or worse). So when terminology used in the workplace is particularly vulgar, it would follow that women would take more issue with it than men.
This reads like aliens trying (and failing) to figure out why women act more like women than men do.
Re: What is the history of the use of "foo" and "bar" in source code examples? (2012)
#38Earlier quoted context omitted.
I imagine that, due to the societal expectations historically placed on women, they’ve typically had to be “the adult in the room.” Contrast this with men historically being able to get away with acting childishly (or worse). So when terminology used in the workplace is particularly vulgar, it would follow that women would take more issue with it than men.
> due to the societal expectations historically placed on women This reads like aliens trying (and failing) to figure out why women act more like women than men do.
Re: What is the history of the use of "foo" and "bar" in source code examples? (2012)
#39No love for quxx?
Re: What is the history of the use of "foo" and "bar" in source code examples? (2012)
#40Earlier quoted context omitted.
Is it not clear what “f” and “u” is short for?
'F--- you'