Archives for Language features, Development Methodologies - Page 21
Swapping without a temp variable
Everyone is familiar with the basic swap – using a temporary variable static void RegularSwapUsingTempVariable(ref int a, ref int b) { int temp = a; a = b; b =…
TFS Error–Source File Could Not Be Opened (‘Unspecified error ‘)
Symptom File has already been deleted (from source control and from the filesystem). Yet – the file shows up in the Visual Studio solution (with a yellow warning icon next…
Two easy ways to edit pdfs (free of cost)
I am still not sure why Adobe (the company) does not offer an online editing tool for editing pdfs. Until they offer something like this, one has to rely on…
SqlGeometry Data Type–Treating it alongside other SqlParameters
SqlGeometry is a spatial data type introduced in SQL Server 2008 (R2). It can be found in the namespace. This is a special data type and not one of the…
Unit Tests are nothing but small, controlled experiments
When I was a physicist (before I joined the computer industry), one of my favorite things was running lab ; For a physicist, a simple experiment could prove (or disprove)…
Refactoring Interfaces– separating concerns
Interfaces are the starting point for designing any service oriented architecture – whether they be externally facing web services or internally facing local services. Hence, the correct design of interfaces…
Free, Open Source UML Tools
Actually, seemed to serve my needs of producing a quick UML architecture diagram. It is free and offers an option to export the diagram as a ping image. This post…
Floats and Doubles can lose you money…use Decimals or a custom Money class instead
Ariane 5 Rocket Launcher Crash In 1996, the European Space Agency lost a valuable shuttle just 37 seconds into the launch sequence. After a deep dive into the root cause…
Moving from Oracle to SQL Server – Data Types To Worry About
As you start planning the migration of the schema objects, one immediate concern will be the data type mismatches between SQLServer and Oracle. Here are some helpful links in determining…
Diffs and Merges–Better Tools for TFS
One of the most frequent tasks that developers face is ‘comparing’ (diff between) two versions of a source ; Another related task is that of merging two (or more versions of)…