March 2009 - Posts

SRP with the DC ALT.NET User Group in Alexandria, VA
Tuesday, March 31, 2009 11:39 PM

Last Wednesday (3/25/2009), I presented at the DC ALT.NET User Group in Alexandria.  Thank you to the groups organizer, Matt Podwysocki for inviting me.

Writing Code with the Thycotic Team

The presentation was TDD with C# and Mocks - which is a hands-on coding session with the audience working on a real application (our online store codebase) - the new code is designed to track website visitors for marketing purposes and it has lots of external dependencies (cookies, database persistence).  The goal of the session is to demonstrate how the Thycotic team would write code using C#, RhinoMocks and the Single Responsibility Principle (SRP). 

Single Responsibility Principle

SRP involves writing mostly new classes since everything is almost always a new responsibility and therefore gets its own class (see also the Open Closed Principle since SRP works well with the concept of open for extension, closed for modification).  This makes it easy to work in legacy code if you adopt SRP as you seldom modify the existing code but rather spend most of your time developing the tests and behavior in new classes and then wire them in where necessary.  There are many other benefits to SRP including testability and reduced coupling.

The audience at the event was engaged and asked lots of interesting questions.  There were questions regarding the wire up of dependencies which led to some tangents on Inversion of Control containers and so on.

Fishbowl Conversation

Matt also held a fishbowl conversation in the beginning of the meeting which seemed like a fun way to get attendees engaged and sharing opinions. I hadn't seen this used before but I was impressed with the concept.

 

Jonathan Cogley is the CEO of Thycotic Software, an agile software consulting and product development company based in Washington DC.  Don't forget - we will be holding our two-day Test Driven Development course next month - reserve your spot now.

Thycotic Team Blog On Software Development
Tuesday, March 31, 2009 11:17 PM

This is my first post to this blog in almost a year !  I have actually been blogging the last few months but not on this blog.  We decided to create a blog for our whole development team so individuals could post interesting items without having to commit to being a total blogger.

We have also committed to a regular posting schedule and Josh (our graphic designer) has assumed the role of 'editor in chief' ensuring that a post from someone on the team goes out every week on Thursday. 

Where is this new team blog then?

You can get to the blog here:

http://www.thycotic.com/blog.php

And don't forget to subscribe to the RSS feed here:

http://www.thycotic.com/feed

What's been posted?

There are already 15 posts from the team with topics such as:

The topics will always have a software development focus but will vary from agile topics, to new tools/techniques to software usability and software marketing depending on the poster.

What's going to happen to this blog?

I will be resuming my posting to this blog which will continue to focus on mostly team lead issues and best practices for Test Driven Development, Pair Programming and Agile in general.  Most of my encounters these days are from the perspective of a software development manager but I do still write a decent amount of code every day.

I will still be posting on our team blog from time to time but this blog will be used for smaller, more informal meanderings.

I am happy to be back - thanks for reading!

 

Jonathan Cogley is the CEO of Thycotic Software, an agile software consulting and product development company based in Washington DC.  Secret Server is our flagship enterprise password management product.

More Posts