Subject: Claiming top level namespaces - DN [1]
dgp@clover.cam.nist.gov (Don Porter) - 01 Feb 2000 - comp.lang.tcl
From today's NetCVS update on the Tcl core:
date: 2000/02/01 01:14:01; author: ericm; state: Exp; lines: +148 -22
* tests/package.test:
* library/tclIndex:
* library/package.tcl: Added ::package namespace and
::package::create function.
Isn't it time we set out some guidelines determining how many
top level namespaces Scriptics is going to claim for the Tcl core?
They're already making use of ::auto_mkindex_parser, ::tcl, ::safe,
::http, ::msgcat, ::tcltest, ::tk and ::tkChooseDirectory. Some of
these are actually packages, so use of a top-level namespace may make
sense for them. (Although, ultimately I would consider them not
part of the core, but part of the standard library bundled with the
core). However, can't the rest all be grouped as child namespaces
of ::tcl or ::tk ?
Also, why does the package "Tcl" use the namespace "tcl" and the
package "Tk" use the namespace "tk"? Does the case inconsistency
serve any purpose?
--
| Don Porter, D.Sc. Mathematical and Computational Sciences Division |
| donald.porter@nist.gov Information Technology Laboratory |
| http://math.nist.gov/mcsd/Staff/DPorter/ NIST |
|______________________________________________________________________|
Last modified
2000-02-10
2000-02-10
(195.108.246.50)
Note: you are looking at
the snapshot of an old wiki
- much of this information
is likely to be very outdated
