Should I sacrifice code succintness to ensure the narrowest variable scope? [duplicate]
- by David Scholefield
This question already has an answer here:
Is the usage of internal scope blocks within a function bad style?
3 answers
In many languages (e.g. both Perl and Java - which are the two languages I work most with) it is possible to narrow the…