请问HN:代码应该存储在数据库中。谁尝试过这种方法?
在我看来,将代码存储在数据库中而不是层次化的文本格式中是显而易见的。<p>我们组织和浏览代码的主要方式是通过文件夹层级。每个人的方法都不同:按功能、按模块、按文件类型(模板、组件等)、按环境(后端/前端)。<p>与其使用文件夹和文件名,不如将所有内容以不同的方式进行标记。<p>谁尝试过这种方法,今天最好的工具是什么?
查看原文
To me it seems obvious that code should be stored in a database rather than a hierarchical, text-based format.<p>The main way we navigate and organize code is by folder hierarchies. Everyone has a different approach: by feature, by module, by file type (template, component, etc.), by environment (backend/frontend).<p>Rather than folders and file names, everything could just be tagged in different ways.<p>Who has tried this and what is the best tool for working like this today?