上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 20 下一页

2016年11月29日

摘要: 接口和内部类为我们提供了一种将接口与实现分离的更加结构化的方法。通用接口建立起一种基本形式,以此表示所有导出类的共同部分。 包含抽象方法的类叫抽象类。如果一个类包含一个或多个抽象方法,该类必须被限定为抽象的。 interface关键字产生一个完全抽象的类,他根本没有提供任何具体实现。它允许创建者确定 阅读全文
posted @ 2016-11-29 07:30 forever_elf 阅读(160) 评论(0) 推荐(0)

2016年10月17日

摘要: Class Organization Following the standard Java convention, a class should begin with a list of variables.Public static constants, if any, should come 阅读全文
posted @ 2016-10-17 17:26 forever_elf 阅读(164) 评论(0) 推荐(0)

2016年9月6日

摘要: The Three Laws of TDD First Law : you may not write production code until you have written a failing unit test. Second Law : you may not write more of 阅读全文
posted @ 2016-09-06 12:07 forever_elf 阅读(200) 评论(0) 推荐(0)

2016年8月23日

摘要: Using Third-Party Code There is a natural tension between the provider of an interface and the user of an interface.Providers of third-party packages 阅读全文
posted @ 2016-08-23 10:56 forever_elf 阅读(204) 评论(0) 推荐(0)

2016年8月9日

摘要: Use Exceptions Rather Than Return Codes Back in the distant past there were many languages that didn't have exceptions.In those languages the techniqu 阅读全文
posted @ 2016-08-09 11:59 forever_elf 阅读(239) 评论(0) 推荐(0)

2016年8月5日

摘要: Date Abstraction Hiding implementation is not just a matter of putting a layer of fucntions between the variables.Hiding implementation is about abstr 阅读全文
posted @ 2016-08-05 11:08 forever_elf 阅读(170) 评论(0) 推荐(0)

2016年8月2日

摘要: A prepared statement is a feature used to execute the same/similar SQL statement repeatedlly with high efficiency. Prepared statement basically work l 阅读全文
posted @ 2016-08-02 12:19 forever_elf 阅读(211) 评论(0) 推荐(0)

2016年8月1日

只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2016-08-01 15:03 forever_elf 阅读(4) 评论(0) 推荐(0)

2016年7月22日

摘要: Nothing can be quite so helpful as a well-placed comment.Nothing can clutter up a module more than frivolous dogmatic comments.Nothing can be quite so 阅读全文
posted @ 2016-07-22 12:46 forever_elf 阅读(222) 评论(0) 推荐(0)

2016年7月20日

摘要: Small The first rule of functions is that they should be small.The second rule of functions is that they should be smaller than that.Functions should 阅读全文
posted @ 2016-07-20 11:39 forever_elf 阅读(323) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 20 下一页