Open in app

Sign in

Write

Sign in

Srinjoy Santra
Srinjoy Santra

101 Followers

Home

About

Pinned

Factory Pattern in C#

This is the fourth chapter of the “Head First Design Patterns” book. I have covered the Strategy, Observer and Decorator patterns before.

Factory Pattern

4 min read

Factory Pattern in C#
Factory Pattern in C#
Factory Pattern

4 min read


Feb 25

Adapter Pattern in C#

This is the seventh chapter of “Head First Design Patterns” book. The problem Accidentally a Turkey’s egg falls among that of Ducks’ and the child tries hard to “adapt” with its duck siblings. How should it adapt? Simplifying the huge list of behavourial changes the Turkey needs to undergo to two. Mallard…

Design Patterns

2 min read

Adapter Pattern in C#
Adapter Pattern in C#
Design Patterns

2 min read


Aug 29, 2021

Decorator Pattern in Go

This is the third chapter of the “Head First Design Patterns” book. I have covered the Strategy and Observer patterns before. The problem We are told to design an ordering application at a coffee shop. It sells a variety of beverages like House Blend Dark Roast Decaf Espresso Apart from these, the…

Go

4 min read

Decorator Pattern in Go
Decorator Pattern in Go
Go

4 min read


Mar 15, 2021

Observer Pattern in Go

This is the second chapter of Head First Design Patterns book. Though the book has code snippets in Java, my attempt here is to implement the problem discussed in Go. Without further ado, let’s understand the use-case. The problem statement We are told to design a weather monitoring application. …

Go

4 min read

Observer Pattern in Go
Observer Pattern in Go
Go

4 min read


Feb 20, 2021

Strategy Pattern in Golang

Usually I find technical books very dry, but Head First Design Patterns was awash with funny anecdotes and eye-grabbing illustrations. It felt a good place to start learning design patterns though it may miss out on more intricate details. The code examples are in Java. …

Golang

4 min read

Strategy Pattern in Golang
Strategy Pattern in Golang
Golang

4 min read


Sep 18, 2020

Concurrent Merge Sort in Golang

Back when I learnt merge sort, I always saw this diagram of dividing the array till the end and merging them in a sorted manner. A passing thought came to my mind, what if we could run the two halves in parallel like the diagram showed. Found out later like…

Merge Sort

4 min read

Concurrent Merge Sort in Golang
Concurrent Merge Sort in Golang
Merge Sort

4 min read


Jun 30, 2020

React Hooks: Building a simple like-dislike review system

This will be a basic tutorial to familiarize the concept of state hook. The idea The mini-application will display videos of four rock bands and ask you to like or dislike the bands accordingly. A list of all your liked bands will be displayed below. The environment I always like to make a small…

React

5 min read

React Hooks: Building a simple like-dislike review system
React Hooks: Building a simple like-dislike review system
React

5 min read


Mar 19, 2019

A brief overview of JavaScript Objects

In JS, an object is an unordered collection of associated key/value pairs (properties). Each property can reference a primitive type (string, number, boolean, null, undefined) or another object (array, functions, etc). There are two types of two forms of objects, Literal (Declarative form) const developer = { name: 'Srinjoy Santra'…

JavaScript

5 min read

A brief overview of JavaScript Objects
A brief overview of JavaScript Objects
JavaScript

5 min read


Mar 23, 2018

My experience as a Google India Challenge Scholarship recipient

In the month of December last year, an email from Udacity India appeared in my inbox. Given the brand name of Google and Udacity in the technology and education fields respectively, it was a big opportunity ahead. …

Udacity

6 min read

My experience as a Google India Challenge Scholarship recipient
My experience as a Google India Challenge Scholarship recipient
Udacity

6 min read


Jan 5, 2018

My first Hackathon :

On 28th October 2017, few of my classmates and me formed a team to participate at our first-ever hackathon. Named #OpenGovDataHack, it was one of the most prestigious hackathons of India. …

Hackathons

5 min read

My first Hackathon :
My first Hackathon :
Hackathons

5 min read

Srinjoy Santra

Srinjoy Santra

101 Followers

Coder, Amateur Musician, Blogger

Following
  • Benjamin Hardy, PhD

    Benjamin Hardy, PhD

  • James Le

    James Le

  • Julie Zhuo

    Julie Zhuo

  • Venelin Valkov

    Venelin Valkov

  • Quincy Larson

    Quincy Larson

See all (57)

Help

Status

About

Careers

Blog

Privacy

Terms

Text to speech

Teams