Archive for January, 2012

Name space programming in Javascript

We all start javascript programming in a procedure way, the functions and variables defined in the way everything are global, global variables are evil some even claim, on the other hand when scripts getting bigger, and object programming concept is being used more and more, you are facing with a daunting task of maintaining and refactoring your existing scripts, developing new code is also getting more and more difficult. To organize the code into classes is the right way to go down, further than that how about modules or name spaces in javascript? The answer is yes. Read the rest of this entry »

C# Regex Gotchas

Here I am going to show you how to understand a few confusing usages of regex in c#, like double quotes in pattern, find and replace, wrapping up with a real world example of version number replacing in automated build process. Read the rest of this entry »

Tags: