Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 31e44623f209dedaf60ce7dcc43467b88eb1337b
Ticket: 672050ffffffffffffffffffffffffffffffffff
function interface design and namespaces
User & Date: elfring on 2003-01-21 21:10:10
Changes

  1. assignee changed to: "vasiljevic"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    The programming interface for the thread package consists of 
    several functions that are grouped into a few namespaces. A lot of 
    functions have got a parameter/argument that specifies a 
    subcommand at the first position.
    
    How do you think about the 
    following suggestion?
    I would like to try an interface design like 
    that:
    Examples...
    1. thread::mutex lock 
        instead of
        
    thread::mutex::lock 
    
    2. thread::cond::create
        instead 
    of
        thread::cond create
    
    3. tsv::array::names
        instead 
    of
        tsv::array names
    
    Does the increased use of 
    namespace functions make a valuable difference in speed and 
    maintenance?
    Is it a step nearer to an object oriented TCL class 
    library for thread programming?
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "elfring"
  9. subsystem changed to: "80. Thread Package"
  10. title changed to: "function interface design and namespaces"
  11. type changed to: "RFE"