Pardon my ignorance, but exactly what does _fu mean WRT Ruby plugins,
gems and such?
I have run across this suffix a number of times in Ruby and Rails,
always in connection with some add-on or extension. In the original
context that I encountered ‘_fu’ I inferred that it probably stood for
file upload. However, its widespread use in other contexts evidently
disproves this interpretation. So, does it have a meaning? Does it
derive from the foo in foobar? Does it stand for functional update? Or,
is it an obscure cultural reference to Ruby’s Japanese origins?
Pardon my ignorance, but exactly what does _fu mean WRT Ruby plugins,
gems and such?
I have run across this suffix a number of times in Ruby and Rails,
always in connection with some add-on or extension. In the original
context that I encountered ‘_fu’ I inferred that it probably stood for
file upload. However, its widespread use in other contexts evidently
disproves this interpretation. So, does it have a meaning? Does it
derive from the foo in foobar? Does it stand for functional update? Or,
is it an obscure cultural reference to Ruby’s Japanese origins?
is it an obscure cultural reference to Ruby’s Japanese origins?
I figure it means “skill”, and originates from “kung-fu”. So
attachment_fu would be implying “strong attachment skills”. Also, I’ve
heard people say things like “My fu is better than yours.”
is it an obscure cultural reference to Ruby’s Japanese origins?
Think ‘Kung Fu’ and you’re getting there. It’s a bit like The Force.
Or what Robert M. Pirsig calls ‘gumption’.
This “Fu” you refer to is actually different than “Fu” as in “Kung-Fu”.
The
fu as in kung-fu by itself, means husband. In Ancient Chinese, it also
means
wise person, such as confucius(Kong Fu Zi).
Speaking as the author of a “-fu” project, I’ll say that I named
acts_as_fu that way because it aids the creation of ActiveRecord
extensions, which very commonly have names starting with “acts_as” or
ending with “fu”. This sort of meta-extension of that workflow means
that you can look at it in two ways: It lets you write projects that
act as “fu”, or it increases your “acts_as”-fu. It’s also just
obnoxious.
And of course the pinnacle of geekdom is to be known as a ‘poodle’, or
one
who is skilled in being skilled; a fu-fu.Damn’, I appear to be posting
drunk
again …