develooper Front page | perl.perl6.language | Postings from April 2005

Accepted abbreviations

Thread Next
April 22, 2005 04:46
Accepted abbreviations
Message ID:
Can we together compile a list of accepted abbreviations, so they can be
consistently applied?

I'll begin with the most basic ones:

    aref        array reference
    bool        boolean
    const       constant
    elem        element
    err         error
    fh          filehandle
    func        function
    href        hash reference
    int         integer
    kv          key/value
    num         number
    obj         object
    op          operator, operation
    r           read(able)
    ref         reference
    regex       regular expression
    rw          read/write
    str         string
    sub         subroutine
    w           write(able)

Some may be source of discussion, in which case I think it's better to
pick one -perhaps against someone's preference- than to use a dozen
abbreviations for the same thing. One such example is "regex", which
used to be spelled by most as "regexp". (Yes, I know we're using rules
now... :).)


Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About