JWT auth in Go
Authentication is the most fundamental building block of any application. Whenever we start building a new app, we consider how users authenticate in the very beginning. In the olden days, we used to implement session based authentication and transmitted ...
Composition over Inheritance
You are tasked with building an application that deals with cars. You are off designing the classes for cars unaware of the looming dangers of inheritance. Every car has a drive functionality, the driver floors the accelerator and the car moves. So, you d...