These are ideas for things the boo compiler could check, using a special compiler step. It is similar to pychecker or pylint. See also the Boo Optimizations page.
No mixing of tabs and spaces for indentation.
The indentation scheme that we have now can cause problems by mixing spaces and tabs.
class A: def constructor(): if false: print 'nothing' assert false A() |
The code above will not assert false because a space is hidden inside the indentation tabs.
The best way in my opinion to handle this situation is to eliminate spaces as indentation altogether, but an alternate situation would be to stop indentation from working in the case that spaces and tabs are mixed.
if (i == 2):.fxCop might have some other ideas for things boo could check.