The two incrementer classes purport to do some do - nothing work incrementing a variable 两个incrementer类的用途是做一些无用的工作(让一个变量递增) 。
The use of the counter variables in the incrementer classes is a failed attempt to fool the compiler , but compilers are often smarter than we give them credit for when it comes to eliminating dead code 在incrementer类中使用计数器变量骗不到编译器,在删除无用代码方面我们对编译器给予了信任,但编译器比我们想象的还要聪明。