Greg Beech's Website

September 2007 - Greg Beech's Tech Blog

  • A functional approach to data access code

    To get a better understanding of how Lambda functions - and the functional programming capabilities they imply - might be used in C# 3.0, I've started playing around with Scheme (an introductory set of video lectures from MIT are available free to download ). One commonly used functional paradigm of not encapsulating a specific function in a procedure, but encapsulating knowledge about how to perform...
  • Common namespaces don't contain commonly used code

    One thing that irritates me about software development is peoples apparent obsession with sub-namespaces called "Common" which they use to contain code that is used throughout the rest of the project/solution. Common namespaces are a code smell which often means you don't really understand your problem domain and so have lumped a load of largely unrelated classes together into a generic...
    Filed under: , ,
  • My new laptop: ASUS Lamborghini VX2s

    I'm doing quite a bit of development from home at the moment, and using my old laptop with its single core 1.2GHz processor and 1GB RAM just wasn't productive as I spent more time waiting for Windows to page memory from the swapfile than I did actually working. Of course, it doesn't help that it was running Vista Ultimate which consumes the best part of 1GB of RAM without even having any...
  • Is product knowledge more important than coding ability?

    For as long as I can remember, if you needed a transactional and scalable data store, then you would buy a database such as SQL Server and implement your data store on top of that platform. There were already databases fully featured enough and reliable enough that they would likely meet your needs, and be far cheaper than trying to implement your own database. In addition, there was no maintenance...
  • How to integrate Debug.Asset with your ASP.NET web application

    In the last two entries about Debug.Assert I looked at why you should use it document your assumptions , and how you can integrate it with your test framework so that tests fail when any of the assertions fail. This time I'll show you how you can use a similar technique to integrate it with your ASP.NET applications to replace the default behaviours with a web page detailing the failure. ASP.NET...
Copyright (C) Greg Beech. All rights reserved.
Powered by Community Server (Non-Commercial Edition), by Telligent Systems