Raul wrote:
>   unmap_jmf_ bind mnn @:

I wrote:
>   (B)  Disentangle the code, and put the  unmap  at the end
>        of the data flow, e.g.  
>
>       ([ unmap_jmf_ bind 'FILE') @: nub @: ip @: (3 : ('JCHAR map_jmf_ 
> ''FILE'';y';'FILE'))
>
>        But this is ugly and makes maintenance harder.  The verb 
>        is harder to read, as the last operation is unrelated to
>        the function of the verb (usually the last operation tells 
>        you something important about the verb).   
>
>        Plus the final reference to the file is disjoint from all
>        the other references, so you have to keep more state in 
>        your head while reading the verb (i.e. it interferes 
>        with locality of reference).

-Dan
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to