|
|
Browse by Tags
All Tags » c# » code standards
-
I've had Microsoft Source Analysis (AKA StyleCop) installed for a couple of weeks. Yesterday I have very belatedly taken the plunge into Resharper.
I have gotten used to the style promoted by Source Analysis. I've gotten into the zone of feeling that warm fuzzy glow from code having no warnings. Howard van Rooijen calls ...
-
A while ago (June last year) I wrote a utility to detect runs of duplicate lines in files, which is useful for looking for repetitive code that should be refactored. Then I stopped work on it, since it was done. The original blog post is here and the project is up on CodePlex here.
This year I have revisited it with two new features which I ...
-
De gustibus non est disputandum.- A Latin proverb, roughly "don't argue about matters of taste" As Scott Guthrie noted here:, Juval Lowry has published his C# code layout standards here: IDesign C# Coding standards This compliments the classic: ...
-
I have written a small utility that I call DuplicateFinder, since it finds duplicate lines of code in files.
I spent a year in the late 1990s working in small company. We asked prospective hires to submit code samples, and I was one of the people looking at the code. There are problems with this method, in that it's too easy to ...
-
Don't repeat yourself. I'll say it again – don't repeat yourself. When writing code, consolidate duplication. (But when explaining, say it several different ways). Code duplication hinders code readability and maintainence. On Friday I downloaded an interesting tool called Simian It is so named because it's a SIMIlarity ...
|
|
|