[Info-vax] Security, support and VMS, was: Re: A new VMS?

Arne Vajhøj arne at vajhoej.dk
Tue May 4 19:55:24 EDT 2021


On 5/4/2021 6:30 PM, Dave Froble wrote:
> On 5/4/2021 2:58 PM, Arne Vajhøj wrote:
>> On 5/4/2021 2:39 PM, Arne Vajhøj wrote:
>>> YAML is actually quite popular for config files today.
>>>
>>> :-)
>>
>> Which of the below are most readable?
>>
>> XML:
>>
>> <abc>
>>   <ab>
>>     <a>1</a>
>>     <b>2</b>
>>   </ab>
>>   <c>3</c>
>> </abc>
>>
>> JSON:
>>
>> { "ab": {
>>     "a": 1,
>>     "b": 2
>>   },
>>   "c" : 3
>> }
>>
>> YAML:
>>
>> ab:
>>   a: 1
>>   b: 2
>> c: 3
> 
> In my opinion, none of them.  I recognize the XML because I've had to 
> work with it.  The other 2 make no sense to me, most likely because I've 
> never seen them.
> 
> Perhaps:
> 
> $ a:==1
> $ b:==2
> $ C:==3
> 
> ??

Perhaps.

But this is unstructured.

Structure can be simulated by:

$ ab_a = 1
$ ab_b = 2
$ c = 3

but that is a bit hackish.

Arne






More information about the Info-vax mailing list