Databases versus plain text

后端 未结 14 1645
我在风中等你
我在风中等你 2020-12-04 22:01

When dealing with small projects, what do you feel is the break even point for storing data in simple text files, hash tables, etc., versus using a real database? For small

14条回答
  •  离开以前
    2020-12-04 22:31

    Use whatever persistence technology you're most comfortable with, and scales sufficiently.

    YAGNI at least means "Don't add a new technology to your personal stack unless you can't be productive with whatever is already there."

    For many (most?) of us, our comfort zone for data persistence is SQL. For some, it might be XML. Just don't write your own until (see paragraph 2).

提交回复
热议问题