Hints and tips required for a lint program

  • Thread starter Thread starter Square eyes
  • Start date Start date
S

Square eyes

Hi,

I'm working on a program which scans .Net programs and gives hints and tips.
At the moment, it can spell check forms, reports and code and some hints
might include something like
str.Replace("Original", "New")
should read:
str=str.Replace("Original", "New")

Hopefully you get the idea. The question is, do you have any hints or tips
that aren't in .Net already?
The more generic the better.

Thanks in advance.
Michael
 
Hi,

I'm working on a program which scans .Net programs and gives hints and tips.
At the moment, it can spell check forms, reports and code and some hints
might include something like
str.Replace("Original", "New")
should read:
str=str.Replace("Original", "New")

Hopefully you get the idea. The question is, do you have any hints or tips
that aren't in .Net already?
The more generic the better.

First, I'd mention that FxCop does much of this, and if you don't know
about it you should definitely check it out. It has an extensible
architecture that makes it fairly easy to add custom rules like this,
and comes with a lot (too many, in fact) built-in rules.

A far as suggestions, the 2005 compiler handles a lot of the things that
drive me batty in 2003. Top of the list for me is not returning a value
from a function. Every time it hits me I curse out the compiler for a
minute.
 
HI

I think it should be more of huge rules stored in database. Example
you can probably create language tables and keywords tables and what to
replace. So you can just read from the database depending on language
selected and run through the code.

The best thing is after that a simple dataentry guys has to make
entries for what keyword what should be used.

Good database design with rule stuff

Regards
Shiv
C#, VB.NET , SQL SERVER , UML , DESIGN Patterns Interview question book
http://www.geocities.com/dotnetinterviews/
 
Thanks for that - I had no idea about FxCop and the last thing I want is to
start replicating a free Microsoft program. I think I'm safe enough though
and have plenty of other features I'm looking to implement that should make
it original and useful.

Thanks
Michael
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top