<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>Here is another SMALL gripe with the language.<BR>
The need to put IMPORTS at the top (or is it just common style?), leads to something I have seen several times.<BR>
You comment out some code, thereby deleting the only/last use of some import, that nets you warnings about unused imports. Granted, they are "only" warnings, but I try to have none. Also granted, you can either comment out or just go ahead and remove the imports, easy.<BR>
<BR>
It might be nice if the IMPORTS could be adjacent to the code using the IMPORTS, so that they can be comment out or removed together.<BR>
<BR>
This "problem" is not unique to Modula-3, by far.<BR>
In fact, Modula-3 is probably more able to warn about this low cost waste due to its much better module system, compared to say, C and C++ #includes...<BR>
<BR>
- Jay<BR><BR><BR>
<HR id=stopSpelling>
<BR>
> Date: Mon, 11 Feb 2008 12:12:56 +0000<BR>> To: m3commit@elegosoft.com<BR>> From: jkrell@elego.de<BR>> Subject: [M3commit] CVS Update: cm3<BR>> <BR>> CVSROOT: /usr/cvs<BR>> Changes by: jkrell@birch. 08/02/11 12:12:56<BR>> <BR>> Modified files:<BR>> cm3/m3-ui/ui/src/winvbt/: WinScreenType.m3 <BR>> <BR>> Log message:<BR>> fix warning about unused import (the use is commented out..would be nice<BR>> to be able to move the import to near the code so they can be commented<BR>> out together..)<BR>> <BR><BR><br /><hr />Shed those extra pounds with MSN and The Biggest Loser! <a href='http://biggestloser.msn.com/' target='_new'>Learn more.</a></body>
</html>