Subject:
|
Re: Calling all Meta-commands
|
Newsgroups:
|
lugnet.cad.dev
|
Date:
|
Fri, 14 Mar 2003 19:57:15 GMT
|
Viewed:
|
1419 times
|
| |
| |
Kyle,
This seems very pragmatic solution. I like it because there does not seem to
be a "one size fits all" solution.
Kevin
In lugnet.cad.dev, Kyle McDonald writes:
> Dan Boger wrote:
>
> >
> > except that if you do that, it discourages cross-tool commands. If I'm
> > writing FooCAD, and I want to implement one of the LTrax commands,
> > should I make a new command '0 FooCad xxxx'? should I secretly support
> > the '0 LTrax xxxx'?
> >
> > I'm not sure what the best answer here is. Maybe aliasing (internally)
> > '0 LTrax xxxx' to '0 FooCAD xxxx' does make sense?
>
>
> I think that, with a little investigation, each command might be
> identified as 'general purpose' or 'application specific.' I think
> that haveing the app-specific ones prefixed with the appname (or
> even 'APP {appname}') isn't such a bad idea.
>
> Also I think that having some sort of community discussion on the
> general purpose commands might be a good idea in order to also
> help keep the namespace polution to a minimum. But by using the
> 'APP {appname}' prefix app authors could add whatever they wanted
> while keeping the polution confinde to a small metacommand sandbox.
> If some app-specific command were found to be useful to more than
> one program, there isn't any reason it couldn't be 'promoted' to
> the general purpose level and have the prefix stripped.
>
> -Kyle
|
|
Message is in Reply To:
| | Re: Calling all Meta-commands
|
| (...) I think that, with a little investigation, each command might be identified as 'general purpose' or 'application specific.' I think that haveing the app-specific ones prefixed with the appname (or even 'APP {appname}') isn't such a bad idea. (...) (22 years ago, 14-Mar-03, to lugnet.cad.dev)
|
154 Messages in This Thread: (Inline display suppressed due to large size. Click Dots below to view.)
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|