Beehaw
  • Communities
  • Create Post
  • search
    Search
  • Login
  • Sign Up
Like A Duck ( likeaduck@programming.dev )  to Technology@lemmy.ml · 3 years ago

What is the best file format for configuration file?

message-square
message-square
26
link
fedilink
29
message-square

What is the best file format for configuration file?

Like A Duck ( likeaduck@programming.dev )  to Technology@lemmy.ml · 3 years ago
message-square
26
link
fedilink

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

.yaml, .toml, etc?

  • glibg10b ( glibg10b@lemmy.ml ) 
    link
    fedilink
    arrow-up
    25
    ·
    3 years ago

    There is no best. It depends on the application

    • doomkernel ( doomkernel@sopuli.xyz ) 
      link
      fedilink
      arrow-up
      4
      ·
      3 years ago

      Agree 100%

    • balls_expert ( balls_expert@lemmy.blahaj.zone ) 
      link
      fedilink
      arrow-up
      1
      ·
      3 years ago

      How would it depend?

      • glibg10b ( glibg10b@lemmy.ml ) 
        link
        fedilink
        arrow-up
        4
        ·
        3 years ago

        Some applications don’t have enough config entries to warrant support for nested entries

        Some applications need variable-length data, and some even variable-length lists

        Some applications don’t care about having fast read/write times or a small memory footprint and can do with more complex formats that require the use of third-party libraries

        Some embedded applications (e.g. AVR) don’t have access to a whole lot of libraries

Technology@lemmy.ml

technology@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !technology@lemmy.ml

This is the official technology community of Lemmy.ml for all news related to creation and use of technology, and to facilitate civil, meaningful discussion around it.


Ask in DM before posting product reviews or ads. All such posts otherwise are subject to removal.


Rules:

1: All Lemmy rules apply

2: Do not post low effort posts

3: NEVER post naziped*gore stuff

4: Always post article URLs or their archived version URLs as sources, NOT screenshots. Help the blind users.

5: personal rants of Big Tech CEOs like Elon Musk are unwelcome (does not include posts about their companies affecting wide range of people)

6: no advertisement posts unless verified as legitimate and non-exploitative/non-consumerist

7: crypto related posts, unless essential, are disallowed

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 2 users / day
  • 27 users / week
  • 553 users / month
  • 3K users / 6 months
  • 1.1K local subscribers
  • 43.4K subscribers
  • 4.7K Posts
  • 26.7K Comments
  • Modlog
  • mods:
  • MinutePhrase ( MinutePhrase@lemmy.ml ) 
  • BE: 0.19.15
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code