马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有帐号?FreeOZ用户注册
x
Message copied from our QQ talking group:
Syd-小key-Java(28845105) 9:57:43 AM
Ok, guys. I really find the benefit of making methods static when possible.
Syd-小key-Java(28845105) 9:58:17 AM
The benefit is: it will make your code looks ugly, very disgust!
Syd-小key-Java(28845105) 9:59:46 AM
Yes, that's the benefit. And then, you'll find that you're not working on the OOP concept, although you suppose you're before you make them static. And then, you will feel obligated to change your design. So, that's the ultimate benefit.
So, try your best to make everything static, and find why they are static. |