On Sat, Feb 12, 2011 at 6:07 AM, Grigory Petrov <grigory.v.p_at_gmail.com>wrote:
> I'm learning subversion API right now and examining it's source code and
> examples. It's a lot of things in subversion source code that is called a
> "baton". For example, svn_cmdline_create_auth_baton() create "auth baton",
> and callbacks takes callback function pointer and, again, batons. I never
> heard of a term "baton" related to the programming. That is the "baton"
> concept subversion source code refers to? Maybe i can read somewhere about
> "batons" used in programming? Or is it a well-known term of some origin?
I don't know about subversion, but I'm guessing the origin of the baton
concept came from the running race , where an item is passed from runner
to runner. Historically, this baton would have some information on (or in)
it, that needed to get to its destination quickly.
Not to be confused with baton twirling, though. . :-)
Received on 2011-02-11 21:38:56 CET