Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
millionkn opened this issue Jul 29, 2017 · 2 comments
Open

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

millionkn opened this issue Jul 29, 2017 · 2 comments

Comments

@millionkn
Copy link
Contributor

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

@wayss000
Copy link
Contributor

wayss000 commented Aug 1, 2017

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

@mzanthem
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants