Randy Patterson

Code To Live, Live To Code

  • Home
  • About

26

Sep

How to design a Fluent Interface

Posted by randypatterson  Published in C#, Patterns

Martin Fowler coined the term “FluentInterface” to describe objects that expose an interface that flows, and is designed to be readable and concise.  The cost of this fluency is additional effort required to design the interface for your object and the slight increase in complexity.  These types of interfaces are often utilized to create configurations [...]

Bookmark It

Add to Del.icio.us Add to digg Add to DotNetKicks Add to DZone
Add to Google Bookmarks Add to reddit Add to Slashdot Add to Stumble Upon
Add to Technorati Add to Twitter Add to Yahoo My Web

Continue reading...

2 comments

23

Sep

International Association of Software Architects, Tampa Chapter

Posted by randypatterson  Published in Events

 
This is the inaugural meeting for the Tampa chapter of IASA.  In this meeting we will discuss a number of topics about the group and what to expect going forward.  We are also fortunate to have a Microsoft Architect Evangelist coming into town to speak.
Speaker: Jeff Barnes, Microsoft Architect EvangelistTopic: The Role of the [...]

Bookmark It

Add to Del.icio.us Add to digg Add to DotNetKicks Add to DZone
Add to Google Bookmarks Add to reddit Add to Slashdot Add to Stumble Upon
Add to Technorati Add to Twitter Add to Yahoo My Web

Continue reading...

no comment

21

Sep

Useless Unit Test

Posted by randypatterson  Published in What Burns Me

This is one of the most useless unit tests I’ve encountered

/// <summary>
///A test for GetByLegalCaseID (int)
///</summary>
[TestMethod()]
public void GetTicketByLegalCaseID_Test()
{
TicketEntityModel target = new TicketEntityModel();
int ID = 1;
TicketDataSet actual = target.GetByLegalCaseID(ID);
 
Assert.IsNotNull(actual, “TicketDataSet was not returned.”);
Assert.IsNotNull(actual.Citation, “No Citation table [...]

Bookmark It

Add to Del.icio.us Add to digg Add to DotNetKicks Add to DZone
Add to Google Bookmarks Add to reddit Add to Slashdot Add to Stumble Upon
Add to Technorati Add to Twitter Add to Yahoo My Web

Continue reading...

5 comments

19

Sep

The Power of the Predicate<T>

Posted by randypatterson  Published in C#

The very flexible generic collection List<T> contains several methods that take a predicate as it’s parameter.  Coupled with Anonymous Methods this provides powerfully concise code for filtering, searching and sorting your collections.

List<Person> People = new List<Person>();
People.Add(new Person("Randy", "Patterson", 40));
People.Add(new Person("John", "Smith", 15));
People.Add(new Person("Caity", "Johnson", 13));
People.Add(new Person("Jody", "Patterson", 39));
People.Add(new Person("Chloe", "Dog", 30));
People.Add(new Person("Corey", "Patterson", 18));

For [...]

Bookmark It

Add to Del.icio.us Add to digg Add to DotNetKicks Add to DZone
Add to Google Bookmarks Add to reddit Add to Slashdot Add to Stumble Upon
Add to Technorati Add to Twitter Add to Yahoo My Web

Continue reading...

9 comments

15

Sep

Free Conference Calls in less than 60 seconds

Posted by randypatterson  Published in Deals

Not really related to software development but Instant Conference is one of those gems occasionally found while surfing the tubes.
 
You just give them an email address and you get back a conference number and an access code……..that’s it! The dial in number and access code are dedicated to you and never expire.  While in [...]

Bookmark It

Add to Del.icio.us Add to digg Add to DotNetKicks Add to DZone
Add to Google Bookmarks Add to reddit Add to Slashdot Add to Stumble Upon
Add to Technorati Add to Twitter Add to Yahoo My Web

Continue reading...

no comment

15

Sep

Welcome

Posted by randypatterson  Published in Uncategorized

Welcome back to my Blog.  I’ve had a blog for awhile but, due to a heavy work load,  I haven’t posted anything in over a year.  In the past year I’ve implemented many of the principles of GTD to better manage my professional, personal and online time.  This will, hopefully, allow me to Work, Live [...]

Bookmark It

Add to Del.icio.us Add to digg Add to DotNetKicks Add to DZone
Add to Google Bookmarks Add to reddit Add to Slashdot Add to Stumble Upon
Add to Technorati Add to Twitter Add to Yahoo My Web

Continue reading...

no comment

RSS

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org

Tags

Azure CodeCamp IoC Podcast Presentation ReSharper TFS Unit Test Unity VS2010

Categories

  • C# (7)
  • Deals (2)
  • Events (11)
  • Patterns (4)
  • Podcast (5)
  • ReSharper (2)
  • TFS (1)
  • Uncategorized (6)
  • Unit Tests (1)
  • Unity Application Block (7)
  • What Burns Me (1)

Recent Posts

  • Moved my Blog
  • Installing VS 2010 in XP Mode
  • TFS Basic Version
  • Windows Azure Commercial Release this year!
  • Orlando Code Camp 2009 – Unity Presentation Slides and Code

Twitter

  • Just wanted to mention that @olegsych (Tampa C# MVP) has finally joined Twitter!!-1 hour ago
  • RT @unclebobmartin: Nancy Pellosi: "We have to pass the bill so that you can find out what is in it."-5 hours ago
  • any of your books preloaded on it? RT @ambroselittle: RT Win a Kindle at #MIX10. Follow @Infragistics to learn how.-19 hours ago
  • RT @esawdust: RT @HacknMod: 137 Years of Popular Science now Available for Free http://bit.ly/bRNNip-23 hours ago
  • Running Win 7 64-bit? Fix the broken preview thumbnails for PDF files. http://bit.ly/dAVVnH-23 hours ago
  • Don't forget to follow @OrlandoCC for the latest news on the Orlando Code Camp later this month-1 day ago
  • Lots of buzz about Amazon releasing a better browser for the #Kindle, I'd rather see better EBook oranization via Folders.-1 day ago
  • A PDF of the #OrlandoCC Agenda is out http://bit.ly/bwiZlP-1 day ago

Comments

  • Ed Holloway on TFS Basic Version
  • Jeff P on The Power of the Predicate<T>
  • Jeff Odell on Beginning ReSharper
  • Jeff Odell on POCO and Unity Application Block Part I
  • Jeff Odell on Resharper Tip #1 – Highlight Usages

Recent Entries

  • Moved my Blog
  • Installing VS 2010 in XP Mode
  • TFS Basic Version
  • Windows Azure Commercial Release this year!
  • Orlando Code Camp 2009 – Unity Presentation Slides and Code
  • Speaking at the South Florida Code Camp
  • Call for Speakers
  • Beginning ReSharper
  • POCO and Unity Application Block Part II
  • POCO and Unity Application Block Part I
  • Random Selection of Posts

    • Useless Unit Test
    • Lazy Instantiation with Unity Application Block
    • Welcome
    • Installing VS 2010 in XP Mode
    • Speaking at the South Florida Code Camp
    • The Power of the Predicate<T>
    • POCO and Unity Application Block Part II
© 2008 Randy Patterson. WordPress. Free email sender software
Theme designing by Mark Hoodia