Thursday, July 15, 2010

Let the Code Kata begin

Once again, it has been awhile since I have posted anything in my blog.  I have been very busy at work with more new projects to work on.  Each step of the way I have gained more knowledge in web design.  I have learned more about ASP.Net, and thanks to my coworker Brian, I have had the pleasure of dabbling in Jquery, Ajax and Linq.  I am developing a really cool project that I think the users will really appreciate when they compare it to what they are curently using. 

Now, I find myself with some small chunks of time where I can work on something else.  I have decided (since my boss mentioned it to me in our last one on one meeting) that I will begin to look at the code katas that he suggested.  Per his suggestion, I am starting on Code Kata #4.  It seems like something simple enough for me to start out with.  It is three parts and I will post each of my answers as I complete them.

Stay tuned for futher updates.....

Okay, I'm back!  It has only been one day and I have begun to work on the first part of Code Kata #4.  Here is what I have so far:
Part 1
Dim result as Integer = 0
Dim saveResult as Integer = 0
Dim saveDay as Integer

For each w as weather in Weather.dat
   result = w.MxT -w.MnT
   If result > saveResult then
      saveResult = result
      saveDay = w.Dy
   End If
Next

console.writeline(saveDay)

No comments:

Post a Comment