| ... | @@ -13,6 +13,8 @@ There is no problem in theory with allowing import declarations to be placed any |
... | @@ -13,6 +13,8 @@ There is no problem in theory with allowing import declarations to be placed any |
|
|
than at the top of the module where you'll probably forget about it)
|
|
than at the top of the module where you'll probably forget about it)
|
|
|
- simpler for tools that auto-generate code, or annotate existing code
|
|
- simpler for tools that auto-generate code, or annotate existing code
|
|
|
(eg. Happy wants to add imports sometimes)
|
|
(eg. Happy wants to add imports sometimes)
|
|
|
|
- Java has been criticised for having a similar restriction: [ http://www.uclic.ucl.ac.uk/harold/srf/javaspae.html](http://www.uclic.ucl.ac.uk/harold/srf/javaspae.html)
|
|
|
|
"Importing packages: A brief example of design issues"
|
|
|
|
|
|
|
|
**Against:**
|
|
**Against:**
|
|
|
|
|
|
| ... | | ... | |