Browse by Tags

Related Posts

  • Refactoring example in C# and VB.NET

    Our very own Bryant Smith has revamped his conversion of Martin Fowler's refactoring example (originally in Java) to now cover both C# and VB.NET. You can find the article here with the relevant downloads and walkthrough. Martin Fowler's example works nicely because it is a simple class structure that...
    Posted to Jonathan Cogley's Blog (Weblog) by thycotic on 03-26-2007, 12:00 AM
    Filed under: Extreme Programming, Test Driven Development, Pair Programming, TDD, General Software Development, Refactoring
  • Richmond Code Camp 3 reviewed

    This last Saturday morning, the Thycotic team headed to Richmond at a bright and early 6am. This alone wouldn't have been too bad but some on the team had been busy until 2am on a client project! For the first Richmond Code Camp ever, it actually didn't rain (it rained all day for the last two). John...
    Posted to Jonathan Cogley's Blog (Weblog) by thycotic on 05-02-2007, 12:00 AM
    Filed under: .NET User Groups, Code Camp, General Software Development, Refactoring
  • Refactoring example in C# and VB.NET

    Our very own Bryant Smith has revamped his conversion of Martin Fowler's refactoring example (originally in Java) to now cover both C# and VB.NET. You can find the article here with the relevant downloads and walkthrough. Martin Fowler's example works nicely because it is a simple class structure that...
    Posted to Jonathan Cogley's Blog (Weblog) by thycotic on 03-26-2007, 12:00 AM
    Filed under: Extreme Programming, Test Driven Development, Pair Programming, TDD, General Software Development, Refactoring
  • Whitespace is a code smell

    Do you space out your code so there are line breaks between the pieces of logic? Why do you think this is necessary? Typically this is done to separate chunks of logic so that they can be easily distinguished. If it is a complicated enough chunk, then it may even make sense to put a comment at the top...
    Posted to Jonathan Cogley's Blog (Weblog) by thycotic on 03-23-2007, 12:00 AM
    Filed under: Extreme Programming, Test Driven Development, TDD, General Software Development, Refactoring
  • Removing dead code

    What does your code terrain look like?  Are there bodies of dead logic lying here and there?  Maybe they helped briefly while you worked towards a better solution or perhaps they just fell victim to changing business rules. At a recent Code Camp, there was a question about code generation and...
    Posted to Jonathan Cogley's Blog (Weblog) by thycotic on 12-05-2007, 12:00 AM
    Filed under: Extreme Programming, Agile, General Software Development, Refactoring, Software Development
  • What makes some code confusing?

    Developers look at code for hour upon hour every day.  After some years of doing this, you can just look at something and almost intuitively understand what it is doing - assuming that some effort has been made by the developers to keep the code clear and understandable.  But every now and...
    Posted to Jonathan Cogley's Blog (Weblog) by thycotic on 02-23-2008, 12:00 AM
    Filed under: Software Development, ISV, General Software Development, Refactoring
  • Refactoring in C# at RockNUG this week

    I will be giving a presentation on Refactoring in C# at RockNUG on Wednesday March 12th 2008 at 6:30pm.  Directions here . What could be more fun on a Wednesday evening than critiquing some bad code and making it better? :) Come along to learn how to clean code like the Thycotic team. What do we...
    Posted to Jonathan Cogley's Blog (Weblog) by thycotic on 03-07-2008, 12:00 AM
    Filed under: .NET User Groups, Software Development, General Software Development, Refactoring
  • NoVa CodeCamp South v1 speaking schedule has been announced!

    The NoVa CodeCamp South v1 will be held on March 29th 2008 in Woodbridge VA.  The speaker schedule has been posted here . I will be presenting on two topics: Refactoring in C# - bad code to better code Web Application Testing in Watin There are lots of great sessions from WPF, TDD, SSIS, jQuery...
    Posted to Jonathan Cogley's Blog (Weblog) by thycotic on 03-07-2008, 12:00 AM
    Filed under: .NET, Software Development, Code Camp, General Software Development, Refactoring
  • Please question the need for whitespace

    I have blogged about this before but I think it is a common problem that is worth restating since it affect developers across our industry.  I noticed the following method recently and again the curious separation of sections by whitespace popped into my head: 1: private void CalcHeaderOffsets(...
    Posted to Jonathan Cogley's Blog (Weblog) by thycotic on 03-18-2008, 12:00 AM
    Filed under: Software Development, TDD, General Software Development, Refactoring
  • Can you find the bug in this code? (THE FIX)

    Thanks to everyone for contributing!  It was really neat to read everyone's ideas and see the discussion and review (talking about code is always fun!).  Here is a summary of responses and the "fixed" code.  If you are interested in the original problem, go here .   @drakiula...
    Posted to Jonathan Cogley's Blog (Weblog) by thycotic on 03-26-2008, 12:00 AM
    Filed under: .NET, Fun, Software Development, General Software Development, Refactoring
Page 1 of 2 (12 items) 1 2 Next >