Friday, July 15, 2011

Framework: .NET Dynamic Versus Static Typed Languages

This MSDN article discusses the new C# 4.0 "dynamic" keyword, but also helps illustrate dynamic versus static typing in .NET.

Short notes:
  1. Dynamic languages don't perform compile-time type checks and identify the type of objects at run time only. Code is faster and easier to write, but doesn't give the benefit of compile time errors.
  2. VB.Net can be made to be more strongly typed by including the "Option Strict" setting.
  3. While the level describing how strongly typed a language is certainly relative, a good definition I found in Stack Overflow is "if I can concatenate a string and an integer without casting then it's not strongly typed."

Design Patterns: Cohesion And Coupling

Posting a few articles regarding basic design frameworks and patterns. This one is from MSDN Magazine regarding cohesion and coupling.

  1. Decrease Coupling - Aspire to design loosely coupled classes or class which are not dependent on one another.
  2. Eliminate Inappropriate Intimacy - Careful with business logic class which needs too much information regarding data access.
  3. Increase Cohesion - Make the code inside a class directly related.

Observation of decrease coupling/increase cohesion creates these positive benefits:
  • Keep things that have to change together as close together in the code as possible.
  • Allow unrelated things in the code to change independently.
  • Minimize duplication in the code.

Monday, June 8, 2009

RSS: .NET Syndication Feeds

Need to perform this task for creating RSS feeds in the near future. Keep this article in mind for the helper classes within the .NET framework.

Wednesday, June 3, 2009

.NET Debugging: IL Disassembler

Learned a helpful new debugging and troubleshooting tool today with the .NET Framework IL Disassembler. The simple application shows classes and even method signatures inside a compiled DLL.

This article goes further into understanding the various intermediate language operations as well as advanced switches.

Wednesday, February 18, 2009

Tuesday, February 17, 2009

JQuery: Videos from the AJAX Experience

Videos from Ajaxian to watch when there's extra time. I believe it would be possible to use this to enhance the .NET Ajax quite a bit.