The main drawback of local declarations is that they prevent reuse.
局部声明的主要缺点是它们不能重复使用。
Listing 2, on the other hand, USES local declarations as much as possible.
另一方面,清单2尽可能地使用了局部声明。
With Listing 2 (local declarations), it is impossible to reuse the movie element in another context.
在 清单 2中(使用局部声明),不能在另一个上下文中重复使用 movie 元素。
应用推荐