Subversion
Written by: Lorna Jane Mitchell
Featured Refcardz: Top Refcardz:
  1. Git
  2. DNS
  3. Data Mining
  4. Spring Data
  5. Subversion
  1. Spring Data
  2. Subversion
  3. Spring Config.
  4. Spring Annotations
  5. Data Mining

Link Details

Link 884717 thumbnail
User 1068999 avatar

By stanislav0
via stackful.io
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
  • 232
  • 122

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)