Re: [tcltk-perl] Re: EV subroutine in Tcl.pm
Brought to you by:
hobbs
From: Vadim K. <va...@ar...> - 2004-04-24 17:24:15
|
> > I really want to change name of Tcl::EV to Tcl::Ev > > > > ALL-CAPS names usually used for constant subroutines and for some special > > for Perl subroutines, and never such names are used to just name ordinary > > subroutine, like in our case. > > > > Please add your argumentation, and better yet let us agree to rename it. > > OK, I was just trying to differentiate from the original. > I have started using it in code, so I will just have to watch > for that commit and change those references. Differentiate from original is easy - once you see \\'XY' you catch an error and ask user to fix. But once you started using that newer scheme -- indeed, it's another. But as long as Tcl.pm changes are very hot, it will be easy to change this back, because you remember what you recently did. And, again, once you'll rename EV->Ev, you'll get diagnostic quickly and will fix them. > > I still prefer using the ('%X', '%Y') argument style though. > Since users have to change their code around anyway, it seems > safe to make it more explicit what they are doing. I suppose > you could still support \\'XY' given ref-ref-scalar's are > unlikely to be used as regular arguments. This is not what I need :) As long as there is no simpliest to user just Ev('X'), any reasonable scheme is fine to me. Jeff, will you perform renaming EV->Ev? Please? I will be very grateful. Best regards, Vadim. |