• David Kline

    Is it a field or a property?

    • 5 Comments
    I very much value code reviews , as long time readers can attest. During these reviews, I have often found myself wondering whether a given line references a field or a property. When reading isolated portions of code, properties can be easily mistaken...
  • David Kline

    'const' vs 'static readonly'

    • 3 Comments
    I'm a big fan of reusing code whenever and wherever possible. A long time ago, I wrote an assembly that provided common methods and data to some applications I was writing. When I first wrote the assembly, I exposedthe common data as public fields decorated...
  • David Kline

    Separating Application Logic and Data Presentation layers

    • 2 Comments
    I'm a big advocate of separating an application's logic from it's user interface. By keeping the logic separate from the data presentation layer (UI), it becomes easy to swap out either component with minimal impact on the other. In addition to ease of...
  • David Kline

    What is a Side Effect?

    • 1 Comments
    We've all heard the commercials or read the prescription information sheets describing the possible side effects of medications. The side effects described are typically negative (ex: upset stomach). There are other side effects of a more positive nature;...
  • David Kline

    Quick Tip: Serializing an Object Field as an XML Attribute

    • 1 Comments
    The addition of the XML Serializer is one of the reasons I really love version 2 of the .NET Compact Framework. I use the XML Serializer in very nearly every application I write; to save application state, data files, etc. By default, the XML Serializer...
Page 1 of 1 (5 items)