DotNetKick.com is an open-source project. Please report any bugs and let us know your great suggestions. Currently running svn revision 620 (rss)

Kick Spy!, Kick Zeitgeist and Kick Widgets

48
kicks
published 10 months, 8 days ago, submitted by jeremyjarrell jeremyjarrell 10 months, 9 days ago

jeremyjarrell.com — Here's a simple way to remove all of those ugly switch statements and enums and to buy yourself a little more flexibility and testability as an added bonus!

Add a comment 2 comments | category: | Views: 14 | Get KickIt image code
tags: | tag it

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:

Comments:
Good intro to the Strategy Pattern
posted by powerrush powerrush 10 months, 7 days ago
This is a very good article. The example is simple to understand and yet also shows off the power available when utilising interfaces. I use enums a lot in my code and for most things they are great. I find they make code more readable but then you hit a scenario where you you have to extend an enum and there's a lot of additional work that comes with that.

John
posted by johnvbrennan 10 months, 6 days ago



information Login or create an account to comment on this story
 

Sponsored Link: www.carlist.ie

Search:

Ads via The Lounge