Ang. gamma [was Re: [Gretl-devel] Bug in help file]
andreas.rosenblad at ltv.se
andreas.rosenblad at ltv.se
Fri Sep 14 02:29:07 EDT 2007
It sounds like a good decision.
Andreas
cottrell at wfu.edu @ INTERNET skrev 2007-09-13 16:37:42 :
> The consensus seems to be that allowing user-defined variables to
> have the same name as functions is in general a bad idea, and on
> reflection I tend to agree.
>
> On the other hand, I take Andreas's point that not being able to use
> "gamma" for a variable is a pain.
>
> Does the following sound too messy?
>
> * rename the gamma function to "gammafunc"
>
> * deprecate "gamma" as a function-name but retain it as an alias
> for the time being
>
> * allow "gamma" as a variable name
>
> As I said, using "gamma" in both roles shouldn't actually be a
> problem for gretl at present, but this way we're not opening the
> floodgates of confusion. The possible coexistence of gamma the
> function and gamma the variable is temporary, not explicitly
> advertised, and not a precedent.
>
> Any takers?
>
> Allin.
>
> _______________________________________________
> Gretl-devel mailing list
> Gretl-devel at lists.wfu.edu
> http://lists.wfu.edu/mailman/listinfo/gretl-devel
More information about the Gretl-devel
mailing list