[development] the time of $op is over?

Adrian Rossouw adrian at bryght.com
Tue May 13 15:34:12 UTC 2008


On 13 May 2008, at 6:40 AM, Larry Garfield wrote:

>
> I have an irrational hatred of switch statements, so eliminating  
> hooks that
> are nothing but nested switch statements half the time gets a big +1  
> from
> me. :-)
the very first iteration of fapi was to have each form be one function  
with
a switch statement.

can you imagine how nasty that would have been ?

i'm _firmly_ in the multiple function camp. I even write little stubs  
for
my own nodeapi functions, that call modulename_nodeapi_$op functions
etc.



More information about the development mailing list