[Backgroundrb-devel] More pleasant / concise API

hemant kumar gethemant at gmail.com
Thu Dec 20 10:47:25 EST 2007


On Thu, 2007-12-20 at 16:29 +0100, Emil Marceta wrote:
> Hi there,
> 
> Just a small suggestion :
> The following apis could be a bit more concise / shorter / pleasant I thought.
> 
> This is particularly difficult, my brain stumbles on this each time
> when scanning thorugh the code :)
> set_no_auto_load(true)
> 
> Could it be two apis instead?
> 
> auto_load
> no_auto_load
> 
> and the other one :
> 
> worker_name :important_worker (no set_ prefix)

Yup,
set_* prefix can be annoying at times and hence can be removed. Although
all these methods are auto generated and hence a bit complicated to
change them.


-- 
Let them talk of their oriental summer climes of everlasting
conservatories; give me the privilege of making my own summer with my
own coals.

http://gnufied.org



More information about the Backgroundrb-devel mailing list