Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2001-04-05
06:06 • Ticket [218628ffff] Namespace example doesn't follow style guide status ... artifact: 85a3045364 user: dgp
2000-10-26
08:26 • Closed ticket [218628ffff]. artifact: 43ca2fb274 user: welch
01:03 • New ticket [218628ffff]. artifact: 392f6b7141 user: nobody

Namespace example doesn't follow style guide

Closed / Fixed218628ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 01:03:19
OriginalBugID: 1509 Bug
Version: 8.1b1
SubmitDate: '1999-03-15'
LastModified: '1999-04-09'
Severity: SER
Status: Released
Submitter: pat
ChangedBy: surles
OS: Other
Machine: NA
FixedDate: '1999-04-09'
FixedInVersion: 8.1b3
ClosedDate: '2000-10-25'


Name:
Christopher Nelson

ReproducibleScript:
    namespace eval Counter {
        namespace export Bump Reset
        variable num 0
        ...
    }
    



ObservedBehavior:
    The Tcl Style Guide calls for "private" identifiers to have uppercase
    initials and "public" identifiers to have lowercase initials.  The
    namespace examples are just the opposite.
    



DesiredBehavior:
    namespace eval Counter {
        namespace export bump reset
        variable Num 0
        ....
    }
    




04/09/1999 11:55 - surles - Applied all suggestions.
welch Closed ticket [218628ffff]. [History diff]2000-10-26 08:26:08
dgp Ticket [218628ffff]: 3 changes [History diff]2001-04-05 06:06:52
Log in (anonymous is fine) to add a comment.