Self-documenting code is not code with lots of inline comments.
自我记录的代码并不是拥有大量在线评论的代码。
Some processors can handle unsigned integer arithmetic considerably faster than signed (this is also good practice, and helps make for self-documenting code).
一些处理器在处理无符号整型数要比处理符号整型数快得多,这也是一个好的习惯,有利于代码的自我文档化(self - documenting)。
This is an improvement over having to write a class any time an anonymous inner class is needed and can help keep the code more self-documenting.
相比于每个匿名内部类都要对应一个类的做法来说,这种方式是个极大的改进,同时也使得代码的可读性更好。
应用推荐