On Tue, Sep 05, 2006 at 01:17:02AM +0200, Axel Liljencrantz wrote:
> function foo
>   [default implementation]
> end
> 
> if some_weird_condition
>    function foo
>        [special case]
>    end
> end
> 
> seems like a reasonable thing to do.

you could easely write that as:

if some_weird_condition
  function foo
    [special case]
  end
else
  function foo
    [default implementation]
  end
end

so the remaining question is, whether restricting a function redefinition
is actually useful.

greetings, martin.
-- 
cooperative communication with sTeam      -     caudium, pike, roxen and unix
offering: programming, training and administration   -  anywhere in the world
--
pike programmer   travelling and working in europe             open-steam.org
unix system-      bahai.or.at                        iaeste.(tuwien.ac|or).at
administrator     (caudium|gotpike).org                          is.schon.org
Martin Bähr       http://www.iaeste.or.at/~mbaehr/

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to