Link Details

Link 884717 thumbnail
User 1068999 avatar

By stanislav0
Submitted: Nov 29 2012 / 13:08

So, here is my thought experiment -- whenever you have the urge of building a custom file format, just don't. Don't use your language or platform's built-in serialization/pickle/shelve feature to dump objects to a file. Don't rely on XML, JSON, or YAML serializers to try and make your file format human-readable since most of the time it doesn't help at all. Don't come up with a custom language that people have to learn in order to work with your program. And, God forbid, don't create a custom (undocumented, of course!) binary format that nobody else can read. Just use your SQL skills (I think all developers have those nowadays) and store your data in a SQLite database.
  • 2
  • 0
  • 336
  • 125

Add your comment

Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (2)

Voters Against This Link (0)

    Debugging JavaScript
    Written by: Ashutosh Sharma
    Featured Refcardz: Top Refcardz:
    1. Design Patterns
    2. OO JS
    3. Cont. Delivery
    4. Java EE7
    5. HTML5 Mobile
    1. Java EE7
    2. Spring Annotations
    3. Git
    4. Java
    5. REST