sentences collection

1. So we divided the workload and together we
created an up-to-date view of the GoF design patterns in a structured and
uniform manner.


2. I personally as editor must express my deepest admiration for the dedication
and effort the authors have shown during this process

 

3. Wherever applicable, patterns are compared with other similar
looking patterns.

 

4. This interface doesn't have to correspond exactly to Abstraction's interface.

 

5. He might not get as much time in the slammer as he was hoping for .

 

6. Consider the code below. What does it do? If I show you the code with well-chosen
names, it will make perfect sense to you, but like this it’s just a hodge-podge of symbols
and magic numbers.

 

7. The power of carefully chosen names is that they overload the structure of the code
with description. That overloading sets the readers’ expectations about what the other
functions in the module do.

 

8. This power, however, comes at a price

 

9. Exactly how much slower is hard to say, because there are so many factors at work.

 

10. it takes twenty lines of tedious code to generate an instance of the class from its name, whereas
a constructor invocation would fit neatly on a single line.

 

11. As a result, the client application can realize considerable savings in terms of the
memory-usage and the time.

 

12. Avoiding locks and/or transaction
management because you don’t think concurrent update is likely is lazy at best. Declaring
a variable to be an ArrayList when a List will due is overly constraining.

 

13. you are very eager for something to happen.

 

14. It is better to follow conventions like these than to invent your own.

 

15. In short, the more you can use names that are
overloaded with special meanings that are relevant to your project, the easier it will be for
readers to know what your code is talking about.

你可能感兴趣的:(UP)