in reply to Tie-dy up our namespaces

You're absolutely right. I renamed Tie::RandomInteger to Tie::Scalar::RandomInteger. But I don't see why RandomInteger should be shortened (RandInt).

2;0 juerd@ouranos:~$ perl -e'undef christmas' Segmentation fault 2;139 juerd@ouranos:~$

Replies are listed 'Best First'.
Re: Re: Tie-dy up our namespaces
by japhy (Canon) on Jan 03, 2002 at 02:25 UTC
    I don't see any real information being lost in the shortening of "RandomInteger" to "RandInt", just as I've never seen confusion over "substr" instead of "substring", or "rindex" instead of "reverseindex".

    _____________________________________________________
    Jeff[japhy]Pinyan: Perl, regex, and perl hacker.
    s++=END;++y(;-P)}y js++=;shajsj<++y(p-q)}?print:??;

      The main confusion that I have seen is that sometimes people will assume the word has been shortened one way when it was in fact shortened in another.

      This can be a pain. More of a pain than typing it all out every time? Dunno. But my habit is to shorten, so I do it anyways.

      Perhaps some time I will make an experiment of being verbose for a while and decide if I like the results of that better.