Open in app

Sign In

Write

Sign In

Amit Jain
Amit Jain

69 Followers

Home

About

Pinned

Inheritance in Go

Go doesn’t have a concept of class or have a class-based inheritance. Go is a bit different than the regular object-oriented languages. How we can reuse the code if Inheritance is not there? Go has a unique feature called embedded fields in the struct(More like composition). …

Inheritance

2 min read

Inheritance in Go
Inheritance in Go
Inheritance

2 min read


Mar 28, 2020

The Amortized time complexity of increasing Array size

Feel free to checkout this blog to see increasing array size in action. Firstly what is Amortized time complexity? According to Wikipedia: In computer science, amortized analysis is a method for analyzing a given algorithm’s complexity, or how much of a resource, especially time or memory, it takes to execute…

Time Complexity

4 min read

The Amortized time complexity of increasing Array size
The Amortized time complexity of increasing Array size
Time Complexity

4 min read


Jan 26, 2020

Slice and Append function in Golang

First, let’s see slice and append in action: Output: [10] [20 2] [40 2 3] [40 2 3 4] Output is a bit different from what we were expecting right? How come slice3[0] is 40 as we have set it to 30. Let’s understand how slice and append function…

Golang

3 min read

Slice and Append function in Golang
Slice and Append function in Golang
Golang

3 min read


Dec 28, 2019

Resolve merge conflicts smartly with GUI

Many people prefer command line over GUI because it is more efficient for most of the day-to-day tasks of a programmer. In short, “Command line is Love”. But in the case of resolving the conflicts “GUI is Magic”. In this post, I will be covering How to resolve merge conflicts…

Git

4 min read

Resolve merge conflicts smartly
Resolve merge conflicts smartly
Git

4 min read


Nov 23, 2019

An efficient way of calculating distinct count | HyperLogLog

The time complexity of calculating distinct count is of order O(N) which is pretty huge if you have the requirement to have real-time analysis on these metrics. Let’s take an example, Facebook wants to know active users/per minute on the platform. Now, people can log in multiple times with different…

Algorithms

3 min read

An efficient way of calculating distinct count over a data | HyperLogLog
An efficient way of calculating distinct count over a data | HyperLogLog
Algorithms

3 min read


Dec 29, 2018

Why Microservices Architecture?

What is Microservices Architecture? Microservices: Small, and Focused on Doing One Thing Well. BY Wikipedia: Microservices are a software development technique — a variant of the service-oriented architecture (SOA) architectural style that structures an application as a collection of loosely coupled services. …

Microservices

2 min read

Why Microservices Architecture?
Why Microservices Architecture?
Microservices

2 min read


Jan 15, 2018

Power of Actor model with Service fabric

“In Actor model, Actors are the basic computation unit and they can interact with each other through messages. You can think an actor as a class containing receive and send message functions, and they can have their own private state and functions. …

Programming

2 min read

Power of Actor model with Service fabric
Power of Actor model with Service fabric
Programming

2 min read


Dec 31, 2017

Design Patterns in Golang

Please first read my blog regarding embedded fields in Golang here. What is Design Pattern? By Wiki: In software engineering, a design pattern is a general repeatable solution to a commonly occurring problem in software design. A design pattern isn’t a finished design that can be transformed directly into code. …

Design Patterns

4 min read

Design Patterns in Golang
Design Patterns in Golang
Design Patterns

4 min read

Amit Jain

Amit Jain

69 Followers

https://amitj975.github.io/about

Following
  • Elton Minetto

    Elton Minetto

  • Ralph Caraveo

    Ralph Caraveo

  • Michael Thompson

    Michael Thompson

  • Deepshi Garg

    Deepshi Garg

  • Anuj Garg

    Anuj Garg

See all (70)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech

Teams