Skip to content

什么时候应该设置保留字段? #537

Open

Description

@millionkn

在看一些比较底层代码的时候,偶尔会看到有一些保留字段用作未来的拓展。那么什么时候应该设置保留字段呢?代码的设计者是由于有想法没有实现而设置保留字段呢还是拍拍脑袋根据感觉来设置呢?

Activity

  1. wayss000 commented on Aug 1, 2017

    @wayss000
    Contributor

    搜了一个答案,不知道是不是你想要的:http://www.cnblogs.com/AloneZ/p/java1.html

  2. mzanthem commented on Aug 18, 2017

    @mzanthem

    设计业务系统的时候,数据库一般都会有1-5个reserve作为保留字段

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions