The Elm Architecture

Elm is a functional programming language that used to develop frontend applications. Even though you don't use Elm at work, understanding Elm architecture will help you to learn functional reactive programming (FRP) at high level. One of the most popular state management framework - Redux actually inspired from Elm architecture. Redux evolves the ideas of... Continue Reading →

Golang way of inheritance

Go claims itself as an object oriented programming language. Of course it is. But developers who came from Java or C#, would realise that OOPS in Go is not same as other languages. Let's see how Golang handles Inheritance.Inheritance - From Wikipedia - the mechanism of basing an object or class upon another object (prototype-based... Continue Reading →

OOPS – Attribute vs State

In Object oriented programming objects are the fundamental unit. Usually an object is defined to have two characteristics. State and behaviorState is defined through variables, properties or functions (getter and setter) depends on the language. Behavior is usually defined through functions. Most of the times, the term state represent both attribute and state of an... Continue Reading →

Javascript – Compiled or Interpreted?

I started my career with .NET. I was a WPF developer and use Visual Studio as the primary IDE. Though I am a desktop application developer, I was aware of JavaScript programming. But I thought Javascript is a toy language and its primary purpose is to manipulate web pages.But the evolution of Javascript is tremendous.... Continue Reading →

Javascript – Asynchronous Programming

Asynchronous programming becomes unavoidable in todays programming. In this article, I would like to talk about, how Javascript evolved to handle asynchronous programming using callbacks. What is a callback? Consider a scenario of a candidate who attends an interview in a reputed organisation. Once the interview is over the HR told that they will process... Continue Reading →

Awaitable storyboard in WPF

Normally when a storyboard is running, setting the FillBehavior (Learn more about FillBehavior) to HoldEnd is risk. Because for a dependency property, storyboard is considered to have highest priority of setting the value. So once storyboard is done, user cannot change its value locally. So users prefer the set the FillBehavior to Stop and change the target... Continue Reading →

Touch and Hold Gesture – Awaitable

Touch and Hold gesture can not be identified using any built-in API. Surface SDKs may provide one. But I will show a simple awaitable way to detect this gesture. Using a timer, we can wait for a particular seconds and return the method once the timer elapsed. If user took his hand before timer elapsed, then... Continue Reading →

Up ↑