Skip to Content.
Sympa Menu

sm-sorcery - Re: [SM-Sorcery]Language wars...

sm-sorcery AT lists.ibiblio.org

Subject: Discussion of Sorcery related topics

List archive

Chronological Thread  
  • From: Mark Andrews <msasgl AT msa-enterprises.com>
  • To: Tony Smith <tony AT smee.org>
  • Cc: sm-sorcery AT lists.ibiblio.org
  • Subject: Re: [SM-Sorcery]Language wars...
  • Date: Mon, 7 Oct 2002 15:43:16 +0100

Hello Tony,

Monday, October 7, 2002, 2:40:53 PM, you wrote:

TS> What if the DETAILS file was not written in bash, but just a
TS> simple tag=value format text file that could be easily grep'd or
TS> parsed?

Personally, I feel that the underlying data structure is key in any
system. If the data structure is well defined and language independant
then the issue of what language to use becomes less relevant as
porting becomes a much simpler proposition. I'm all for clear
seperation of data from code in whatever format. I prefer a colon
seperator rather than "=" for readability with arrays etc :-

array1:value1:value2:value3

reads better to me than

array1=value1=value2=value3

and allows for things like

array1:SPEEDY:cflags="-O3":cflags=""

where using "=" as a seperator would break things.

The combination

array1=value1:value2:value3

also has merit but makes (bash) coding slightly more complicated.

--
Best regards,
Mark mailto:msasgl AT msa-enterprises.com





Archive powered by MHonArc 2.6.24.

Top of Page