User: Password:
|
|
Subscribe / Log in / New account

A critical look at sysfs attribute values

A critical look at sysfs attribute values

Posted Mar 17, 2010 23:25 UTC (Wed) by yanfali (subscriber, #2949)
In reply to: A critical look at sysfs attribute values by Gollum
Parent article: A critical look at sysfs attribute values

YAML is also a nice simple structured text format, with a lot of available libraries.


(Log in to post comments)

A critical look at sysfs attribute values

Posted Mar 18, 2010 7:55 UTC (Thu) by ptman (subscriber, #57271) [Link]

YAML (at least the latest revision of the spec) is a superset of JSON.
Better start simple and add complexity only if it is needed.

A critical look at sysfs attribute values

Posted Mar 19, 2010 11:19 UTC (Fri) by mgedmin (subscriber, #34497) [Link]

I've read the YAML spec. I can never understand people who proclaim it to
be "simple". Even XML is simpler!

A critical look at sysfs attribute values

Posted Mar 21, 2010 21:08 UTC (Sun) by gerdesj (subscriber, #5446) [Link]

I'll take your YAML or XML or whatever and raise you ASN.1. Heck, you could mount sysmibfs and make it legible - hilarious!

The latest modish markup thingie isn't going to solve the design goals of sysfs, let alone anything else.

I personally like the simple text file with a value in it approach - I don't have to learn Yet Another Markup Language (and I don't just mean YAML 8)

Re evaluating the goals and perhaps filling in the missing ones and then someone enforcing the end design decisions will give a chance for the grandkids to see this thing.


Copyright © 2018, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds