On Wed, 2012-03-21 at 08:15 +0100, Harald Oehlmann wrote: > Am 21.03.2012 00:10, schrieb Massimo Manghi: > > On Wed, 2012-03-14 at 17:59 +0100, Harald Oehlmann wrote: > >> I would try to stay as compatible to tcllib as possible: > >> > >> html::html_entities > >> > >> but this is not a really nice name. > > > > I would mark the difference between tcllib's implementation and Rivet's > > adopted code. What if we get the code into a 'entitities' package and > > let the actual command be placed within the ::rivet namespace? > > > > e.g. > > > > package require entities > > set xformed_text [::rivet::entities $text] > > > > or > > > > ::rivet::html_entities > > I like both, but would prefer the first. >
Me too, but if 'entities' as subcommand doesn't make sense, we need a also meaningful name for the inverse subcommand. '::rivet::encode'/'rivet::decode' are excellent but too generic after all. Suggestions? -- Massimo --------------------------------------------------------------------- To unsubscribe, e-mail: rivet-dev-unsubscr...@tcl.apache.org For additional commands, e-mail: rivet-dev-h...@tcl.apache.org