To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.devOpen lugnet.cad.dev in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Development / 8403
8402  |  8404
Subject: 
Re: Calling all Meta-commands
Newsgroups: 
lugnet.cad.dev
Date: 
Fri, 14 Mar 2003 19:08:43 GMT
Viewed: 
1403 times
  
On Fri, Mar 14, 2003 at 06:49:18PM +0000, Larry Pieniazek wrote:
In lugnet.cad.dev, Kevin Clague writes:

Would the authors of LDraw compatible applications please list the
meta-commands they have created?  I will compile the list of applications and
the meta-commands they define.

One thing that I think would help reduce namespace pollution is if everyone
did what LTrax did... prefix the command with the app name for uniqueness.
Not a perfect solution, of course.

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?

Dan

--
Dan Boger
dan@peeron.com



Message has 5 Replies:
  Re: Calling all Meta-commands
 
I don't think of any new meta-commands as polution. Possibly over-population? I've got mixed feelings about the LTrax solution. It is very hard to know which meta-commands will be usable across many applications. Certainly the original LDraw (...) (22 years ago, 14-Mar-03, to lugnet.cad.dev)
  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)
  Re: Calling all Meta-commands
 
(...) If you write FooCad, don't regard LTrax as a program, but rather a family of standard meta-commands. But as the "owner" of that family, I may change the spec's and thus make FooCAD incompatible... When it comes to LTrax - I know you most (...) (22 years ago, 14-Mar-03, to lugnet.cad.dev)
  Re: Calling all Meta-commands
 
(...) Neither. You should PUBLICLY support the command and make it known that you are doing so. (...) maybe. (22 years ago, 14-Mar-03, to lugnet.cad.dev)
  Re: Calling all Meta-commands
 
(...) I agree with Larry -- support it publically. Recognize '0 LTrax xxxx' as the primary syntax for the command. Especially, let the author of the original command know that you are implement their command. Hopefully, that will give them cause to (...) (22 years ago, 22-Mar-03, to lugnet.cad.dev)

Message is in Reply To:
  Re: Calling all Meta-commands
 
(...) One thing that I think would help reduce namespace pollution is if everyone did what LTrax did... prefix the command with the app name for uniqueness. Not a perfect solution, of course. (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

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR