40

cross-posted from: https://programming.dev/post/1743099

.yaml, .toml, etc?

you are viewing a single comment's thread
view the rest of the comments
[-] atzanteol@sh.itjust.works 3 points 1 year ago

An unstructured text document can be "unbeatable" for configuration how?

[-] jesterraiin@lemmy.world 2 points 1 year ago

The "PURPOSE" is the keyword.

If the purpose of the software is to work in closed, offline environment with Mr. NOTECH operating it via "line 5: rotations per minute; line 6: temperature in Fahrenheit" commands, then trust me, it's going to get the job done.

[-] atzanteol@sh.itjust.works 2 points 1 year ago* (last edited 1 year ago)

"unbeatable" and "get the job done" are very different claims. If you just have bare unlabeled numbers on "magic lines" in a file - sure you can work with that. But I'd hardly say it's "unbeatable" compared to "anything else" for readability and clarity. It's the type of thing programming classes have students do so they don't have to introduce libraries or other concepts.

It's very likely that Mr. NOTECH would be able to understand "TEMP_F: ###" just as easily as "put the temperature on line 6". And it would likely be MUCH easier for Mr. NOTECH to look at a config file and read back to you what the temperature setting is. Especially if they haven't worked with the software for long. As a bonus it would be easier for Mr. NOTECH to know whether the temperature should be in F or C. Or even Kelvin.

[-] jesterraiin@lemmy.world 0 points 1 year ago
[-] atzanteol@sh.itjust.works 1 points 1 year ago

I see, you're not being serious.

[-] jesterraiin@lemmy.world 0 points 1 year ago

I absolutely am. You're simply overthinking it - the scenario I provided makes plaintext *.txt perfect.

Sure, we can spend the rest of the day inventing scenarios, where Mr. NOTECH will be manipulated remotely by aliens, and what then, but that's an exercise in creativity, not a situation that needs to be taken into account.

this post was submitted on 15 Aug 2023
40 points (95.5% liked)

Technology

60129 readers
2666 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 2 years ago
MODERATORS