Taswar Bhatti
The synonyms of software simplicity
Category: Uncategorized

In this post I will cover some area of grunt more of a grunt basic tutorial, things you can do with grunt, in previous post we saw how we use grunt with Visual Studio 2012 and 2013 and our simple hello world task. Let’s start with some more basic things e.g writing a simple function […]


Jade Node.js Template Engine, Conditional Logic Statements In my previous post I have talked about databinding with jade, i.e. feeding data to your template. In this post I will write about how one can use conditional and logical statements (for, if, while statements) in jade template engine. Ternary Operation The conditional ternary operator can be […]


Jade Node.js Template Engine is a templating language for node.js, it provides an alternative syntax to write your HTML, some may say more pythonic or haml style. Jade by default comes with express web application framework for node.js, it is designed primarily for server side templating in node.js, and last but not least it is […]


Here is a quick little tutorial of using Twitter Bootstrap with Node.js express in Visual Studio. First we will create a ExpressBootstrap solution, select New Project and select JavaScript -> Blank Express Application. I will name my solution ExpressBootstrap, in my app.js I have also add the app.locals.appname = ‘Express Bootstrap’ so that I can […]

dotnet C#

The ?? operator is called the null coalescing operator. It is used for providing a default value for Nullable types or reference types. Example:

One of the disadvantage of ?? is it can create code that is not that readable. e.g a ?? b ?? c ?? d ?? e