---
title: "Shreyash Chavhan (@Shreyash1999) | Hashnode"
description: "Tech Software Engineer at UBS. Read the latest articles by Shreyash Chavhan on Hashnode."
url: "https://hashnode.com/@Shreyash1999"
---

@Shreyash1999

# Shreyash Chavhan

@Shreyash1999 · Joined July 2023

Tech Software Engineer at UBS

### [Fascade Pattern](https://struglingblogs.hashnode.dev/fascade-pattern?utm_source=hashnode&utm_medium=feed)

Task - Build a Home Sweet Home Theater. That's a hell lot of classes and their interactions. Below is the way to watch a movie the hard way. Turn on the popcorn popperpopper.on(); Start the popper poppingpopper.pop(); Dim the lightslights.di...

2 min read · [struglingblogs.hashnode.dev](https://struglingblogs.hashnode.dev/fascade-pattern?utm_source=hashnode&utm_medium=feed)

[Sep 16, 2023](https://hashnode.com/posts/fascade-pattern/6505d67f32cdedccd94f6ed0)

### [Adapter Pattern](https://struglingblogs.hashnode.dev/adapter-pattern?utm_source=hashnode&utm_medium=feed)

Why Adapter Pattern Solution Class Diagram Object and Class adapter Above class diagram is for object adapter, below is class adapter. Object uses composition, class uses subclassing. Let's take a example of Enumeration and Iterator. Task is to...

1 min read · [struglingblogs.hashnode.dev](https://struglingblogs.hashnode.dev/adapter-pattern?utm_source=hashnode&utm_medium=feed)

[Sep 15, 2023](https://hashnode.com/posts/adapter-pattern/65049f3dfa1007734b0c7d5e)

### [Command Pattern](https://struglingblogs.hashnode.dev/command-pattern?utm_source=hashnode&utm_medium=feed)

Task - We have to design an API for remote control for Home automation. Reference example - a waitress in restaurant. Now we have to place a device in empty slots and press button whichever you want. Let's see what are the vendor devices Now looks...

2 min read · [struglingblogs.hashnode.dev](https://struglingblogs.hashnode.dev/command-pattern?utm_source=hashnode&utm_medium=feed)

[Sep 4, 2023](https://hashnode.com/posts/command-pattern/64f5dd745c677d423d34f12a)

### [Singleton Pattern](https://struglingblogs.hashnode.dev/singleton-pattern?utm_source=hashnode&utm_medium=feed)

Why Singleton Pattern Singleton pattern also gives us a global point of access, just like global variables, but without initializing the object beforehand, a global variable gets created when your application starts which is a downside. How to rest...

2 min read · [struglingblogs.hashnode.dev](https://struglingblogs.hashnode.dev/singleton-pattern?utm_source=hashnode&utm_medium=feed)

[Sep 4, 2023](https://hashnode.com/posts/singleton-pattern/64f578d714149ef8d19a47a7)

### [Decorator Pattern](https://struglingblogs.hashnode.dev/decorator-pattern?utm_source=hashnode&utm_medium=feed)

Task - Design beverage shop with multiple toppings on it. Initially the shop was not offering the toppings only a specific beverage.So design would look like this. So you they have expanded and started offering the toppings as well, in similar way w...

2 min read · [struglingblogs.hashnode.dev](https://struglingblogs.hashnode.dev/decorator-pattern?utm_source=hashnode&utm_medium=feed)

[Sep 3, 2023](https://hashnode.com/posts/decorator-pattern/64f44fc43bb0132436cfcf51)
