tag:blogger.com,1999:blog-5060551251465839575.post6135282225156458671..comments2023-12-25T23:28:04.785+08:00Comments on Dodgy Coder: Defensive copy and paste codingDodgy_Coderhttp://www.blogger.com/profile/14418022725678218844noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-5060551251465839575.post-14913844615109827692012-12-31T18:33:59.025+08:002012-12-31T18:33:59.025+08:00It doesn't ban anything, it just measures it :...It doesn't ban anything, it just measures it :-) (of course you can set certain "critical" levels and say "enough is enough").<br /><br />I prefer to think of the warnings it issues as a learning opportunity (like "I didn't know that X is bad for reasons A, B, C - how interesting") and while in the short-term it can add some overhead, it is my experience that after 1-2 weeks of using it you get into the habit of doing things "the right way".Cd-MaNhttps://www.blogger.com/profile/05030326541176171725noreply@blogger.comtag:blogger.com,1999:blog-5060551251465839575.post-21692271495777997052012-12-17T16:01:23.230+08:002012-12-17T16:01:23.230+08:00Interesting - so does it ban copy & paste outr...Interesting - so does it ban copy & paste outright? Looking at the website that tool looks fairly hardcore ... 600 code convention rules enforced off the shelf with the ability to add your own. Wouldn't it get in the way of development? I've used Resharper before with C# and Visual Studio, but found it didn't provide a whole lot of benefit to me, although I know lots of people do rave about it.Dodgy_Coderhttps://www.blogger.com/profile/14418022725678218844noreply@blogger.comtag:blogger.com,1999:blog-5060551251465839575.post-15045620637512038522012-12-17T14:45:33.130+08:002012-12-17T14:45:33.130+08:00You might want to look into SonarSource (http://ww...You might want to look into SonarSource (http://www.sonarsource.org/) which includes the CPD (copy-paste detector). And whilst it is written in Java, it also supports other languages like C#, C++ and so on.Cd-MaNhttps://www.blogger.com/profile/05030326541176171725noreply@blogger.com