Archives for Language features, Development Methodologies - Page 24
Large Method Signatures (too many arguments)
The Problem A recent project of mine had me looking at C# code which had been brought over from old C/C++ code. One of the first things that struck me…
Static qualifier at a class level versus member level (in C#)
The static qualifier is available at both the class level as well as the individual member level (both fields and methods) in C#. This article discusses when to use it…
Delegates in C# – pre-lambda and post-lambda expressions
Delegates are amongst the most powerful constructs in the C# language (Full Solution Download at the end of this article). Some uses of delegates in c# include : Delaying invocation(calling)…
The Under-Appreciated Hash Function–Illustrated using a Birthday Lookup
Overview Arrays are superfast. Simply becasue the exact location (index) of the element is provided. What if we could tie that index to the actual value of the data being…
The Under-Appreciated Hash Function–Illustrated using a Birthday Lookup
Considering the amount of time they have saved mankind, Hash-functions are among the most under-appreciated gems of #160; A hashing function will typically, using just a SINGLE lookup – retrieve…
Singleton versus Static in C#, Singleton in C#
One of the biggest advantages of OOP is the ability to have multiple instances of the same object. This lets your object oriented code handle multiple customers, multiple acccounts, multiple…
LINQ–notes from the field
Using LINQ on .NET collections Often times, you have to deal with regular collections such as ArrayLists, DataSets etc. These collections: Are not strongly typed (unlike Arrays, Dictionaries, GenericLists which…
Agile versus “Flat-Footed” development
(Riddle: “What is voiceless, yet cries and toothless, yet ” Read to the end to see the ) Definitions Agile – Software that adapts well to change (is well-designed and…
Anuj Varma–SQL Server Tuning Services
Anuj Varma is no stranger to SQL Server performance tuning. Schlumberger, Tokyo Electron and Dell are among the larger companies he has helped with SQL Server specific tuning. Several startups…