Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6676225
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T03:57:38+00:00 2026-05-26T03:57:38+00:00

I am looking for best practices on externalizing simple data structures into human readable

  • 0

I am looking for best practices on externalizing simple data structures into human readable files.

I have some experience with iOS’s plist functionality (which I believe is XML-like underneith) and I’d like to find something similar.

On the .NET side .resx seems to be the way to go, but as I do research everyone brings up localization and this data is not meant to be localized. Is .resx still the answer?

If so, is there a way to get a dictionary structure of all the .resx data instead of reading a single entry? I’d like to know things like number of entries, an array of all the keys, an array of all the values, etc.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T03:57:39+00:00Added an answer on May 26, 2026 at 3:57 am

    Given my druthers, I’d avoid XML. It’s designed to be easy to parse. It’s verbose, it’s not designed human readability. Avoid the angle-bracket tax if you can.

    There’s JSON. That’s a useful alternative. Simple, easy to read, easy to parse. No angle-bracket tax. That’s one option. YAML is another (it’s a superset of JSON).

    There’s LISP-style S-expressions (see also wikipedia). You could also use Prolog-style terms to construct the data structures of your choice (also quite easy to parse).

    And there’s old-school DOS/Windows INI files. There’s multiple tools out there for wrangling them, including .Net/CLR implementations.

    You could just co-op Apple’s pList format from OS X. You can use its old-school “ASCII” (text) representation or its XML representation.

    You can also (preferred, IMHO) write a custom/”little” language to suit your needs specifically. The buzzword du jour for which, these days, is “domain-specific language”. I’d avoid using the Visual Studio/C#/.Net domain-specific language facilities because what you get is going to be XML-based.

    Terrance Parr’s excellent ANTLR is arguably the tool of choice for language building. It’s written in Java, comes with an IDE for working with grammars and parse trees, and can target multiple languages (Java, C#, Python, Objective-C, C/C++ are all up-to-date. There’s some support for Scala as well. A few other target languages exist for older versions, in varying levels of completeness.)

    Terrance Parr’s books are equally excellent:

    • The Definitive ANTLR Reference: Building Domain-Specific Languages
    • Language Implementation Patterns: Create Your Own Domain-Specific and General Programming Languages
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Things like railstutorial.org are too simple. I am looking for some best practices, diving
I'm looking for best practices for using the same data in different places without
I'm looking for some Best Practices for automating the deployment of Stored Procedures/Views/Functions/Table changes
Looking for some best practices of UI list on iPhone which has item add/modify/delete
I am looking for some best practices as far as handling csv and tab
I'm looking for best practices and ideas for managing data in a database table
I am looking for some best practices when is comes to creating EditMoels and
I'm looking to hear some best practices... Assuming a web application that interacts with
I'm looking for an idea of best practices here. I have a web based
I'm fairly new to PHP and am looking for some best practices on how

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.