Project: | Prolint Issue Tracker |
Component: | Rules |
Category: | feature request |
Priority: | minor |
Assigned: | jurjen |
Status: | closed |
I'd like to suggest a low priority rule to discourage the use of package globs. In other words:
USING package.ClassName
is recommended instead of:
USING package.*
The use of fully qualified class names, rather than package globs, seems to be a commonly preferred practice in other languages with similar language features.
Comments
omg, a USING statement ...
USING?? wtf, the person who wrote Prolint believed that no statement can appear before CLASS so it does not support USING at all. That must be fixed first, pronto.
Jurjen.
done
Prolint supports the USING statement now
#1
The rule is added. Its name is "usingpkg".
Important notice: if you download Prolint from the trunk in subversion, you must have Proparse 3.1a and must delete prolint/turbolint/turbolint.dll after download. Because turbolint.dll is not ready yet for the Object Oriented syntax, it needs a horrible lot of fixes.
#2